10 Laravel4 extension packages for everyone

Source: Internet
Author: User
Laravel is a popular and easy-to-use PHP Framework. It provides many basic tools (such as RESTful routing, built-in ORM, and templates) this allows you to quickly create an application. This means that you can spend less time creating application templates and giving you more time to write your Web applications.

The following lists the 10 essential Laravel 4 extension packages that can introduce many common functions for your Laravel WEB application without your own implementation, this means that you don't have to spend a lot of time on those common parts (such as authentication, debugging, and website optimization ). The list is based on the Packagist download ranking.

1. Laravel Generators

When writing WEB applications, it is common to build new models, views, controllers, and other modules. Manual creation is cumbersome. Using Laravel Generators, you can use a few simple PHP Artisan commands to simplify these operations and increase productivity.

2. Laravel IDE Helper

Laravel IDE Helper will generate a file for your IDE to provide more precise complementing functions. This file will be generated based on the files in your project, so it will always be updated in real time. You can also use pre-generated helper file, but it is not the latest. This allows you to reduce the time required to view documents during programming.

3. Behat

Simply put, Behat is a PHP framework that is conducive to testing your laravel application. It allows you to use behavior-driven development processes in Larave applications, making it easier to write behavior tests. This is useful if you want to follow the BDD mode and your development efficiency is higher.

4. Ardent

Ardent provides a self-verified intelligent model for Laravel's built-in Eloquent ORM. In a more understandable way, it allows you to define verification rules in the model, rather than in the view. This will make the view file smaller, and a long verification rule is written into the model. you can simply define the model without worrying about a large amount of validation 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, and makes you more efficient.

6. Confide

In most applications, there will be some basic authentication, such as registration, logon, logout, and password reset. It takes time to write the code, and security issues may occur if you do not pay attention to it. With Confide, you can get all these basic authentication functions without writing any code. Saves you more time to write applications.

7. Entrust

The second important function of WEB applications is role-based permission control. Generally, you allow users of a specific role to use a function. For example, many applications have "administrator" and "common user ". Entrust does not require you to write the RBAC system. what you need to do is to define some roles and filter routes based on them.

8. Former

Forms are common in all applications. If your application has any type of user interaction, they usually use forms. However, it will be painful to maintain them at the end. Former makes it easier to define forms in PHP and render them using common CSS frameworks (Bootstrap or Foundation. This makes it easier and more effective to maintain the form.

9. Laravel HTML Minify

The simplest way to reduce the page size is to compress the HTML source code. Laravel HTML Minify allows you to obtain a compression rate of up to 18% without any operations except adding a provider to the program. A small amount of work can achieve significant performance improvement.

10. Laravel Administrator

The management interface is almost a requirement of any web application. The basic management interface is usually very simple, but it is an extra repetitive work. The Laravel Administrator extension package provides you with a simple background management system, allowing you to focus more on WEB application development rather than background management.

More extension packages

Laravel has a variety of extension packages to help you complete almost any function you want to implement. We cannot sort out all the extension packages. However, some useful examples are listed here.

In short, you can almost always find an extension package to solve your current problem. Therefore, do some research before writing code, because it is very useful that someone has implemented the problem you are about to solve. We hope to cover most of the useful extension packages. However, if we miss some, please reply in the message to let us know.

Via: vexxhost. This article is translated by Specs and published in the Coder Resource Network. For more information, see the source.

If you are studying Laravel, you can see 《Laravel tutorials"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.