Laravel is a very popular and easy-to-use PHP framework that provides a number of basic tools (such as RESTful routing, built-in ORM, templates, etc.) that enable you to quickly create apps. This means that you can spend less time building the template for your application, giving you more time to write your Web application.
Here's a list of 10 essential Laravel 4 expansion packs that can introduce a lot of common functionality to your Laravel Web application without your own implementation, which means you don't have to spend a lot of time in those common parts (such as certification, debugging, website optimization, etc.). The list is based on packagist download volume rankings.
1. Laravel Generators
When writing a Web application, it is common to build new models, views, controllers, and other modules. Creating these tasks manually is tedious. With Laravel generators, you can simplify these operations and increase productivity with a few simple PHP artisan commands.
2. Laravel IDE Helper
The Laravel IDE helper generates a file for your IDE, providing more accurate completion functionality. This file will be generated based on the files in your project, so it is always updated in real time. In addition, you can also use the pre-generated helper file, but it is not up-to-date. This allows you to reduce the time to view the document when you write the program.
3. Behat
In a nutshell, Behat is a PHP framework that helps you test your laravel application. It allows you to use the behavior-driven development process in larave applications, making it easier to write behavioral tests. This is useful if you want to follow the BDD pattern and you are developing more efficiently in this mode.
4. Ardent
Ardent provides a self-validating, intelligent model for the Laravel built-in eloquent ORM. In a more understandable way, it allows you to define validation rules in your model, rather than in a view. This makes the view file smaller, and long validation rules are written to the model, and you can simply define the model without worrying about the large number of validations in the view.
5. Laravel Debug Bar
Laravel Debug Bar makes debugging easier, so you no longer need to use Var_dump () in your code. This makes debugging faster and easier, making you more efficient.
6. Confide
In most applications, there are basic certifications, such as registering, logging in, exiting, resetting passwords, and so on. The process of writing this code takes time and can cause security issues if you are not careful. With Confide, you don't have to write any code to get all of these basic authentication features. Save you more time to write your application.
7. Entrust
The second important feature of a Web application is role-based permission control. Typically, you make a feature available to users of a particular role. The example is that many applications have "admin" and "normal user". Entrust you don't need to write the RBAC system, all you need to do is define some roles and then filter the routes based on them.
8. Former
In all applications, forms are common. If you have any type of user interaction in your app, they will usually use the form. Ultimately, however, it can be painful to maintain them. Former makes it easier to define forms in PHP and renders them using your favorite CSS frameworks (bootstrap or foundation). This makes it easier and more effective to maintain your forms.
9. Laravel HTML minify
The simplest way to reduce the size of a page is to compress the HTML source code. Laravel HTML minify allows you to get up to 18% compression rate in addition to adding a provider to your program without any other action. A small amount of work can achieve significant performance gains.
Ten. Laravel Administrator
The management interface is almost a requirement for any Web application. The basic management interface is usually very simple, but it is an extra repetitive work. The Laravel Administrator expansion pack provides you with a simple back-office management system that allows you to focus more on Web application development than on background management features.
More Expansion Packs
Laravel has a wealth of expansion packs to help you do almost anything you want to achieve. We can't sort out all the expansion packs, but here's a list of some useful ones.
In short, you will almost always be able to find an extension package that solves your current problem. Therefore, do some research before writing the code, because it is very likely that someone has implemented the problem you are about to prepare to solve, which is very useful. We want to be able to cover most of the useful extension packages, however, if we miss out, please reply in the message let us know.
Via:vexxhost, this article by Specs translation finishing, published in Coder Resource Network, reproduced please indicate the source.
Learn Laravel's friends can take a look at theLaravel Tutorial Learning series of notes