Home >PHP Framework >Laravel >what is laravel
laravel is a free and open source PHP Web framework created by Taylor Otwell; its source code is hosted on GitHub, and the licensing terms are MIT license; Laravel's features include support for user authentication and permission, and modularity The package system has its own package library, etc.
The operating environment of this article: Windows 7 system, Laravel version 5.7, Dell G3 computer.
What is laravel?
Laravel is a free and open source PHP Web framework created by Taylor Otwell. It is designed to implement the MVC architecture of Web software and serve as an alternative to CodeIgniter. Its source code is hosted on GitHub, and the license terms are MIT license. Features of Laravel include: supporting user authentication and permissions, having a modular package system with its own package library, providing ways to connect to many types of relational databases, providing tools to assist with application deployment and maintenance, and developing Lots of syntactic sugar.
Features
1. The syntax is more expressive
Do you know what "true" means in the following line of code?
$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.
Related recommendations: The latest five Laravel video tutorials
The above is the detailed content of what is laravel. For more information, please follow other related articles on the PHP Chinese website!