📜 ⬆️ ⬇️

Laravel - PHP Framework for Artisans

Laravel PHP Framework
Laravel is a clean and stylish base for development. It will save you from spaghetti code. It will help you create beautiful web applications using a simple and expressive syntax. Development should be fun. Enjoy a breath of fresh air.

Another PHP framework, you think. Perhaps, but he is worth looking at.
The framework is quite young, 2011. Uses PHP 5.3. He already has a good community, a lot of forks. Already grown to version 3.0.

Having looked at quite good documentation , I had parallels with one good framework, which I have known for a long time. In essence, this framework represents a kind of hodgepodge of good solutions taken from several frameworks.

What can

Bundles (Modules) - there is a repository with an extensive number of bundles.
')
The Eloquent ORM - ActiveRecordORM, can build connections (many to many, one to many, one to one)

Migrations - I think the rule is good tone.

Redis - yes, noSQL out of the box.

Environments - depending on the domain, it can load certain configuration files.
Let's say write in the file paths.php
 $environments = array( 'local' => array('http://localhost*', '*.dev'), ); 

Now, if we go from a domain starting on localhost or ending on .dev. The framework will load configs files from application/config/local/* folders instead of application/config/*

IoC Container - methods for creating and, optionally, instantiating and storing singleton links. It also means that you will less need to load external libraries.

Class Auto Loading - you can also override any system class in the config.

Work from under CLI - install / create migrations, bundles, run the necessary routes (cron say).

There is an asset manager. All code is outside the public directory.

There are a lot of opportunities out of the box, who are interested, he will look deeper.

And lastly, a couple of references.

Download - laravel.com/download
Documentation - laravel.com/docs is so simple that even a child will figure it out :)
Github - github.com/laravel
Screencasts - www.screenr.com/user/laravel
Russian community - laravel.ru

Source: https://habr.com/ru/post/145212/


All Articles