Laravel is an opinionated MVC web framework for PHP. A typical application build using this framework consist of routes, controller, model and migrations.
Composer is the dependency management tool for Php. It is strongly inspired by node's npm and ruby's bundler. Laravel uses it to install
and update dependencies.
composer.json contains meta data about the dependencies and they are installed
vendor/ directory at the root of the application.
paradigm.minor.patch versioning for the framework.
paradigm here, represents
the architectural changes. But for the framework components, it uses the standard semantic version.
Laravel has its own CLI system called
Artisan. Using it, you can create a project with a single command.
laravel new <project_name>
You can also create standard components of applications like controller, middleware, model in seconds, using it.
By default, the framework provides Eloquent with ActiveRecord
implementation for working with database. This is really handy to do CRUD operations real quick. It also adds
updated_at for every table created.
As with any other framework, laravel too does the following things.
Boiler plate generation
--resourcegenerates a controller with methods for all the HTTP verb.
Enforcing structure to the project.
database/for the migration and seed.
Naming convention for the components
Controllersuffix is appended to generated suffix.
.envfor the storing the configuration of the respective environment.