Why is Codeigniter beneficial for the PHP framework

PHP 7 Frameworks - The right thing for my project

The times in which static applications for companies were created as executable programs are finally over. Nowadays an HTML application is programmed that can be accessed from anywhere in the company. A browser application is much easier to maintain and expand. So-called web frameworks are used for this, which already provide the most important functions that are required

A web framework has the task of connecting the various functions of an application, e.g. controlling the task, managing the database, checking the inputs. Depending on the situation, it delivers complete HTML pages or just Json or XML data to a JavaScript program in the browser. A distinction is therefore usually made between model-view-controller frameworks and small web application frameworks.

The choice of the right framework essentially depends on the requirements of the subsequent application.

Priority questions

  • How big is the project?
  • How many users will it have?
  • What functions should it offer?
  • Should it be expanded continuously?
  • Do I have the necessary resources for maintenance and operation?

Subordinate questions

  • What is the status of the framework in the community?
  • Will it be further developed and how many 3D party developers are there.
  • How is the documentation?
  • Does it use new features like namespaces introduced with PHP5.5?
  • Does it offer LTS support for the versions or is there concern that the application will later have to be laboriously migrated to a new version?
  • How quickly are inquiries processed and is caching and optimization possible or necessary?

Java and Ruby (Enterprise) or Python and PHP are usually used as technology. PHP frameworks were always ridiculed. However, Symfony, for example, has also been used successfully for years in larger projects and startups. PHP frameworks have proven to be stable, inexpensive and future-oriented, while some RUBY and Java applications have literally imploded.

With PHP 7 many disadvantages that the scripting language had are a thing of the past. PHP 7 is not only much faster but it also offers technologies that are advantageous for modern and secure frameworks. (e.g. typing)

Reason enough to take a look at three different, modern PHP frameworks.


Laravel is definitely the best choice for larger projects with multiple developers. It can best be compared with Symphony, but more modern and in our opinion also more comfortable. It is usually installed and kept up-to-date with composer. Laravel is a general purpose framework. That means almost all conceivable functions from form checking to cache interfaces to multilingualism are available.

After configuration, new components and tables can be added and migrated using a command line tool (Artisan). If you understand the idea behind it, this can be done surprisingly comfortably and quickly. Overall, however, laravel needs a somewhat longer familiarization period due to its complexity. There is good documentation and, above all, excellent video tutorials that you can go through on the website for a few euros. It is not for nothing that Laravel has developed into the most popular PHP framework worldwide in a very short time.


There is a fork from Laravel called Lumens which is completely optimized for speed and reduces the original framework to the basic functions (route, cache, auth, DB, views, etc.). Lumen is called a micro-framework by the creators. This is an exaggeration because Lumen is actually complete and functions that are not available can be retrofitted via middleware and service providers. Lumen requires PHP7.0 and higher.



Codeigniter is also a general purpose framework with a model-view-controller approach. It is primarily intended for the rapid development of small and medium-sized projects. It does not use a strict namespace approach like Laravel and Symphony and thus gives the developer more freedom. On the other hand, Codeigniter is considered very stable and, above all, fast. It can be expanded with numerous libraries that cover many requirements. Developers especially love the many useful functions of the helper classes, which enable very elegant solutions without much programming effort.
The charm of Codeigniter is its clear, understandable structure that everyone immediately recognizes. who has already worked with MVC frameworks such as Joomla.


Slim Framework

Slim is a real micro-framework. It is particularly suitable as an application framework for Javascript applications that expect json or XML data instead of a whole Html page and for REST APIs. In principle, however, it can also be used with an extension for Twig templates for small web applications. Technically, Slim takes an unusual way of integrating extensions. Slim communicates by generating PSR 7 http request and response objects and transmitting them to extensions (middleware), for example. Slim is 10 times faster than Laravel.



All three frameworks still support PHP5.6. But it is only a matter of time before old braids are cut off here too. Then the speed should increase significantly again.

The most popular PHP frameworks in comparison


Overall, of course, there are still many possibly relevant frameworks for PHP. The spectrum ranges from 100Kb micro frameworks that offer no convenience apart from routing to PHP extensions written in C such as Phalcon, which process requests extremely quickly but are not expandable.

We strongly advise against two things. On the one hand, wanting to develop the application from scratch without a framework. It's not worth the effort. Without basic knowledge, the result is never as elegant, secure, clear and expandable as an application with a renowned framework. Second, you should resist the temptation to change the core functions of a framework yourself. Usually there is a possibility to build the desired function via extensions. If not, then you have chosen the wrong framework.