Top 12 PHP Frameworks For Web Development in 2024

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • CakePHP

    CakePHP: The Rapid Development Framework for PHP - Official Repository

    CakePHP is an open-source PHP framework for web development with 8.7k stars and 3.5k forks on GitHub. It offers APIs that enable developers to develop applications quickly. It allows you to create highly secure and scalable web applications, including social networks, eCommerce, and online collaboration platforms.

  • Laravel

    Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.

    Laravel is an open-source PHP framework on GitHub with 75.7k stars and 24.2k forks used for building web applications. It was first released in 2011 and follows the Model-View-Controller (MVC) architecture. It comes with an expressive and elegant syntax. It is fine-tuned for building professional web applications and ready to handle enterprise workloads. It achieves this by integrating the best packages from the PHP ecosystem and creating a framework that is also developer-friendly. Other than its foundational features, It also provides tools for dependency injection, unit testing, real-time events, and many more.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Yii2

    Yii 2: The Fast, Secure and Professional PHP Framework

    Yii is one of the oldest PHP frameworks, acronym as Yes It Is! It has 14.2k stars and 7k forks on GitHub. It is a fast, secure, and flexible PHP framework for web development, especially for building MVC architecture websites. It is an Object-Oriented PHP framework that requires knowledge of inheritance, polymorphism, etc.

  • CodeIgniter

    Open Source PHP Framework (originally from EllisLab)

    CodeIgniter is an open-source PHP framework with 18k+ stars and 7.8K forks on GitHub. It follows the Model-View-Controller (MVC) architecture and provides a structured way to create and organize code. It provides a set of libraries and an intuitive interface to accelerate PHP web app development.

  • Slim

    Slim Framework 4 Skeleton Application

    Slim is a micro PHP framework used for web development with 11.7k stars and 2k forks on GitHub. It has a simple and intuitive API development process. It is a micro-framework, meaning you only get a minimum of support for HTTP requests and forwarding requests to appropriate controllers. So the question is, why should you choose a micro-framework? Because it offers you flexibility and high extensibility.

  • Symfony

    The Symfony PHP framework

    Symfony is an open-source PHP framework developed by SensioLabs which has a thriving community of over 300,000 developers with 29k stars and 9.4k forks on GitHub. It provides a set of reusable PHP components and a development methodology for building complex and scalable web applications. It is recommended due to its advanced features and user-friendly environment. The user can also develop microservices.

  • FuelPHP

    Fuel PHP Framework v1.x is a simple, flexible, community driven PHP 5.3+ framework, based on the best ideas of other frameworks, with a fresh start! FuelPHP is now fully PHP 8.0 compatible. (by fuel)

    FuelPHP is a portable and extensible PHP framework that supports both MVC and Hierarchical Model-View-Controller (HMVC) architectures with 1.5k stars and 300+ forks on GitHub. It works on almost any server and is characterized by a clean syntax. It is a purely object-oriented approach. The applications can be divided into modules, and each module can be extended or replaced without having to rewrite a single line of code.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • Phalcon

    High performance, full-stack PHP framework delivered as a C extension.

    Phalcon is open-source with 10.7k stars and 2k+ forks on GitHub. It is a full-stack framework for PHP that is characterized by high performance and low resource consumption. It is written or implemented as a C-extension or in C, which is integrated into PHP to improve performance. It has a user-friendly interface that simplifies PHP development and enhances the developer experience.

  • Project

    A lightweight MVC PHP framework designed for speed and simplicty (by PHPixie)

    PHPixie is an open-source PHP web framework designed for high-speed and simple web applications with 1k stars and 131 forks on GitHub. It was initially started as a micro framework but gradually evolved into a full-stack framework. It is a lightweight MVC PHP framework that has its own query builder and ORM. It is built with independent components and also receives regular updates and enhancements.

  • Slim Framework

    Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. (by slimphp)

    Slim is a micro PHP framework used for web development with 11.7k stars and 2k forks on GitHub. It has a simple and intuitive API development process. It is a micro-framework, meaning you only get a minimum of support for HTTP requests and forwarding requests to appropriate controllers. So the question is, why should you choose a micro-framework? Because it offers you flexibility and high extensibility.

  • Lumen

    Discontinued The Laravel Lumen Framework.

    Lumen is also a micro-framework used for developing PHP-powered web applications with 7.6k stars and 1k forks on GitHub. It is based on the Laravel framework and is specifically designed to build microservices and smaller, lightweight applications. The same team behind Laravel creates it and also shares some of its components. But, It is different from Laravel because it doesn’t offer compatibility with any additional Laravel libraries like Cashier, Passport, Scout, etc.

  • fatfree

    A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!

    Fat-Free Framework also known as F3, is an open-source PHP micro-framework designed for building web applications. It has 2.6k stars and 400+ forks on GitHub. It allows you only to use the necessary code. It doesn’t need complex configuration, such as setting up Composer, curl, or a complex directory structure. It supports SQL and NoSQL databases like MySQL, SQLite, MSSQL/Sybase, PostgreSQL, MongoDB, etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts