What can laravel do?
Laravel is a concise and elegant PHP web development framework. It can free you from the messy code like noodles; it can help you build a perfect network app, and each line of code can be concise and expressive.
In laravel, there is already a set of advanced PHP activerecord implementation eloquent orm. It can easily apply “constraints” to both sides of the relationship, so you have full control of the data, and enjoy all the advantages of activerecord. Eloquent natively supports all methods of query builder in fluent.
1. More expressive grammar
Do you know what “true” means in the following line of code?
$uri = Url::create(‘some/uri’, array(), array(), true);
Besides, do you know what other parameters mean here (except the first one)? Of course you don’t know. Because this line of code is not expressive.
Take a look at this Code:
$url = URL::to_secure(‘some/uri’);
This expression uses HTTPS protocol to create a URL link. In fact, both of the above methods are doing the same thing, but which one is more obvious and expressive?
2. High quality documents
Laravel has a great community support. The expressiveness of laravel code itself and good documentation make PHP programming enjoyable.
3. Rich expansion packages
Bundle is the name of the extension package in laravel. It can be anything from full ORM to debugging tools, just copy and paste to install any expansion pack! Laravel’s expansion packs are contributed by developers around the world and are growing.
4. Open source, hosted on GitHub
Laravel is fully open source. All code is available from GitHub and you are welcome to contribute.