Why is Laravel so popular?
Matt @C2B

Why is Laravel so popular?

Laravel is a very popular PHP framework, used by more than 30,000 developers around the world. One of the reasons it's such a hit is that it allows web applications to be constructed quickly and makes them easy to maintain afterwards.

The source code for Laravel is hosted on GitHub and is distributed under an open source licence, so it's available for anyone to use. It was first introduced in beta in 2011 and has since gone through several enhancements adding more features including database seeding, scheduling and more besides.

The third version of the platform saw the introduction of a command line interface called Artisan. This is mapped to sub-commands which simplifies the process of building and managing Laravel-based apps.

It works on a modular basis, with lots of pre-built functions available. This means that applications can be constructed quickly with no need for hours of work and lots of lines of code. Things like form validation and user authentication are built into Laravel which means they don't need to be reinvented for each new task.

The code is designed to be simple, readable and elegant, making it easy for developers to understand what's happening even if the code was created by someone else. Testing is integrated into the Laravel framework too, so the resource intensive business of writing test procedures for each new task is reduced too.

Recent additions to the platform include Laravel Scout which allows full text searches to be performed; Laravel Echo which allows for event broadcasting over the web; and Laravel Passport which is an OAuth2 ready server that makes API authentication simpler.

Another reason for the popularity of the platform is its thriving and helpful developer community. There's a plethora of documentation available which means developers have plenty to guide them when it comes to applying best practices, making decisions on implementation, and maintaining code. There are also Laravel conferences known as 'Laracon' held in the US and Europe each year where developers can get together and discuss its use and related topics. There are plans for future Laracons to be held online to allow more people to participate.

Mathew Kimani

Property Investor & Developer - Social Housing HMO's - Conversions & Land- Consulting International UHNW Clients + Pro Athletes On Property Investment - Greater Manchester & Surrounding Areas

7 年

Thanks for that Steve, I enjoy learning from people like yourself, have a good week

回复

The real reason Laravel is such a popular PHP framework is simple, it has a fluent API which allows you to scaffold out a basic application very quickly. There are a variety of extensions which work seamlessly with the core framework, ranging from Redis cluster management to OAuth server and token management. It isn't all down to Laravel itself of course, the community is the biggest bonus when it comes to Laravel. Either for help and advise, or alternatively agencies such as Tighten Co and Spatie creating open source packages enabling you to do more in less time. The reason I reach for Laravel most of the time is simple, the ability to add polymorphism between models allows for a much more flexible model to work with, other frameworks offer this of course, however none with the ease that Laravel offers. This all being said, if you do not need all the features and the kitchen sink, a microframework such as Slim framework is also a fantastic solution! As a developer it is about knowing what tool to use for a job, and when to know reach for what is comfortable because comfortable isn't always going to deliver the best product

要查看或添加评论,请登录

Mathew Kimani的更多文章

  • Why Are Your Jobs Taking 5 Times Longer To Be Filled?

    Why Are Your Jobs Taking 5 Times Longer To Be Filled?

    Someone said to me…”Working with multiple agencies is “NOT” a position of power…Just a Position of Volume”… I agree!…

  • Which Judge Would You Choose?

    Which Judge Would You Choose?

    Imagine going to a court of law where you were hoping to get justice , you are sure things will be ruled to your…

  • The Sacking of Jose Mourinho

    The Sacking of Jose Mourinho

    Let me start with a quote by Otto Von Bismarck “Only a fool learns from his own mistakes. The wise man learns from the…

  • One Of The Worst Questions Companies Ask Recruiters

    One Of The Worst Questions Companies Ask Recruiters

    One Of The Worst Questions Companies Ask Recruiters It’s not just the question but the timing. Many times when speaking…

  • MR Manager – Developers are leaving you

    MR Manager – Developers are leaving you

    This is my opinion formed after conversations with Developers. Here are a few of the issues I see often: 1.

    2 条评论
  • 10 Things Not To Do on PHP

    10 Things Not To Do on PHP

    Web developers either love it or hate it but can't live without it. All those horrible underlines and nested function…

  • 12 Best Contact Form PHP Scripts

    12 Best Contact Form PHP Scripts

    Most websites have some sort of contact form. They are a good way of letting visitors get in touch, without leaving…

  • A Practical Introduction to TypeScript for PHP Developers

    A Practical Introduction to TypeScript for PHP Developers

    Experienced developers will have seen the rise and fall of a number of development trends and fads, so it would be easy…

  • Recruitment Blame Game

    Recruitment Blame Game

    I sat down with a CEO of an international Tech company who made an amazing statement regarding a recruitment decision…

社区洞察

其他会员也浏览了