50 likes | 100 Views
At present, Laravel is more popular than other PHP frameworks. As an open source framework, Laravel enables developers to speed up web application development without increasing project overheads. It scores over other frameworks in the categories of performance and scalability. Also, it simplifies modern web application development by providing robust features like Eloquent ORM, authentication library, events, queues, caching, route caching, Blade template engine, route middleware, and native security features. Each new version of Laravel also comes with several new features and enhancements to meet the emerging trends in web application development.
E N D
Laravel 2 New Features For The PHP Developers
At present, Laravel is more popular than other PHP frameworks. As an open source framework, Laravel enables developers to speed up web application development without increasing project overheads. It scores over other frameworks in the categories of performance and scalability. Also, it simplifies modern web application development by providing robust features like Eloquent ORM, authentication library, events, queues, caching, route caching, Blade template engine, route middleware, and native security features. Each new version of Laravel also comes with several new features and enhancements to meet the emerging trends in web application development. The web developers can always use Laravel 5 to avail an array of new features.
Redesigned Directory Structure Laravel 5 comes with a redesigned directory structure. It makes each class fully namespaced by implementing PSR-4 autoloading standard. The default namespace for the web applications is app. However, the programmers can change the default namespace through a command. They can further manage the application environment and environment elements efficiently through the.env file stored in the root of the project.
Method Injection The version 5 of Laravel simplifies method injection significantly. It does not require programmers to request the Inversion of Control (IoC) container to provide a class instance. The developers now have option to declare the type hinted class instance in the controller method's signature. They can even include multiple parameters in the controller method's signature. The IoC container will automatically handle the type hinted class instance automatically.