Features of laravel framework: 1. More expressive syntax; 2. High-quality documentation; 3. Rich expansion packs; 4. Open source, hosted on GITHUB; 5. Modularity and scalability ; 6. Microservices and program interfaces; 7. Testability; 8. Routing selection; 9. Configuration management, etc.
The operating environment of this tutorial: Windows 7 system, Laravel 6 version, DELL G3 computer.
Laravel is a simple and elegant PHP Web development framework (PHP Web Framework). It can free you from messy codes like noodles; it can help you build a perfect network APP, and every line of code can be concise and expressive.
laravel Features:
1. The syntax is more expressive
You know that "true" in the following line of code "What does it mean?
$uri = Url::create(‘some/uri’, array(), array(), true);
Also, do you know what the other parameters here mean (except the first one)? Of course you don't know. Because this line of code is not expressive.
Look at this code again:
$url = URL::to_secure(‘some/uri’);
This expression creates a URL link using the HTTPS protocol. In fact, the above two ways of writing are doing the same thing, but which one is better? What about being clear at a glance and more expressive?
2. High-quality documentation
Laravel has a great community support. The expressiveness and good documentation of the Laravel code itself make PHP programming a pleasure.
3. Rich expansion packages
Bundle is the name for expansion packages in Laravel. It can be anything - as large as a complete ORM, as small as a debug tool, or just copy & paste to install any extension! Laravel's extension packs are contributed by developers from all over the world, and more are constantly being added.
4. Open source and hosted on GITHUB
Laravel is completely open source. All code is available on Github, and you are welcome to contribute.
5. Modularity and scalability
Laravel focuses on the modularity and scalability of code. You can find any file you want to add in the Packalyst directory, which contains over 5500 packages. The goal of Laravel is to enable you to find any file you want.
6. Microservices and program interfaces
Lumen is a micro-framework derived from laravel that focuses on streamlining. Its high-performance programming interface allows you to develop micro-projects more easily and quickly. Lumen integrates all the important features of laravel with minimal configuration. You can migrate the complete framework by copying the code to the laravel project.
7, Testability
8, Routing selection
9, Configuration management
10, Query builder and ORM (Object relational mapping)
11. Architecture construction, migration and vaccination
12. Template engine
13. Certification
14, Redis
15, Queue
16, Event and its command bus
Related recommendations:The latest five Laravel video tutorial
The above is the detailed content of What are the characteristics of laravel framework. For more information, please follow other related articles on the PHP Chinese website!