Laravel is one of the Web Framework PHP is free and open-source. Widely used by programmers as programming language The easy one. Created by Taylor Otwell with the aim of making it easier for developers to build websites. One proof that Laravel is indeed easy can be seen from the Laravel architecture which uses the Model-View-Controller (MVC) architecture. In addition, Laravel itself has lasted more than 6 years starting in June 2011 with Laravel 1, until Laravel 5.4 which was released in January 2017.
In March 2015, Laravel was awarded as one of the most popular PHP Frameworks (https://www.sitepoint.com/best-php-framework-2015-sitepoint-survey-results/), along with other Frameworks like Symfony, CodeIgniter, Yii2, etc. The award cannot be separated from several features provided by Laravel as follows:
- bundles, provides a modular package system that has been released since Laravel 3. Coupled with the use of Composer in Laravel 4, it makes it easier to add other modules into Laravel according to the packages available in the Packagist repository.
- Eloquent ORM (object-relational mapping), is an implementation of the active record pattern in PHP. Where Eloquent ORM provides a table as a class and an object as a row of records from the table.
- QueryBuilder, available since Laravel 4, provides a feature to connect directly to the database and is an alternative to Eloquent ORM. Instead of writing SQL queries directly, Query Builder provides classes and methods that can form queries programmatically. In addition, Query Builder also provides a cache feature on the results of query execution.
- Blade Template, combines multiple templates and variable data into a single view which is also stored in Laravel’s cache. Templates can also perform PHP functions such as loops, conditionals, etc.
- Migration, provides a control system over the Database Schema, making it possible to make changes in the application when those changes require new settings on the database side.