122 22.01.2019

There are many PHP web frameworks out there. Symfony, CodeIgniter, Zend, Yii 2, Phalcon and more. In this sea of options, there is one that is clearly developers’ favorite – Laravel.

Laravel is an open-source PHP-based framework that is relatively new. It was first released back in 2011 and since then it has received frequent updates. Its goal is to ease the development process and provide excellent application functionality at the same time. If you still haven’t tried it, here are 6 reasons why Laravel is worth it:

  1. Security. The Laravel authentication system has “guardians” who control the user authentication process for each request and “providers” responsible for getting users from the database. It also has protection against Cross Site Request Forgery CSRF. Laravel uses CSRF tokens to stop the malicious requests by adding a token to a user request. If later on, this token doesn’t match, Laravel will stop the threat.
  2. Eloquent ORM that provides your database with an ActiveRecord. It matches the models that you create in the Model-View-Controller (MVC) to a table in the database. The ORM has a dynamic relationship that can be one-to-one, one-to-many, many-to-many. It also supports many-through, polymorphic relationships, and many-to-many polymorphic relationships.
  3. Mail Services integration. Laravel has an API that uses SwiftMailer library. You can use it with SMTP, Amazon SES, Mailgun, Mandrill and more. Your web app could send emails and notifications based on different events.
  4. Artisan is the built-in command line. It can be used to create a skeleton code to easily manage the database. It can also be used to create basic MVC files.
  5. Testing. Laravel gives you the opportunity to run automated tests to ensure that the application doesn’t have any bugs and will not fail. It provides accurate results and saves developers a lot of time.
  6. Modularity. Laravel is created on top of 20 different libraries. It uses modules. New modules will add functionality which can get really handy when it comes to the development process.

Sounds like a pretty good PHP web framework, doesn’t it? If you want to give it a try, you can find Laravel for free on GitHub under the MIT License.

images.27001 images.9001 20000