24 Best PHP Frameworks Step-By-Step [Part - 4]

by jay patel




This is the final episode of the series about PHP frameworks, Here you will see Smart, Symfony, TwistPHP, TYPO3 Flow, Yii and Zend

Follow the series ...

This blog post is the fourth and last part of "24 Best PHP Frameworks Step-By-Step"

 

If you did not read it yet

 

You can check the other blog posts following the links below 

 

24 Best PHP Frameworks Step-By-Step
24 Best PHP Frameworks Step-By-Step [Part - 2] and 
24 Best PHP Frameworks Step-By-Step [Part - 3]

 

Introduction to the fourth and last part

 

We are finally here.

 

Right now, you can consider yourself as a proper master Jedi of PHP frameworks.

 

If you have followed the previous parts you have discovered that there are several different types of PHP applications that can speed up the development process of your web projects or websites.

 

Below you will find the last few elements that I consider to be the best among the 24 frameworks available today.

 

My advice, again, is to read through all the reviews in these posts and knowing what do you need to create choose the perfect fit for your project.

 

Let's start:

 

Table of content

 

Part 4:

 

Complete list

 

Smart Framework

Smart Framework

There isn’t a lot of information on the internet about this framework.

 

The project started between 2009 and 2011 by UNIX-world, a software company with more than 15 years working on the web.

 

Its initial release is dated February 2012, and it seems often updated,

 

At the moment, the latest stable version is the 3.7.5 released on the 25th April 2018.

 

As some of the previous items you saw before, it is a free open-source product, BSD licensed and it follows the MVC architecture by mixing multi-tier and middleware.

 

Among its most important features is a wide support of different types of database such as MySql, SQLite, MongoDB, PostgreSQL, several JavaScript components, built-in map handlers (Google maps and Bing maps) and Redis for caching.

 

Why would you want to prefer it rather than others?

 

Well, on the official website, the owners claims that this framework is many times faster than other much more popular ones such us Zend and Laravel.

 

This could be a good reason to try it.

 

Even though, as a downside in order to begin, you need to have a look at the documentation that in this case can look a bit cluttered.

 

Smart Official Website

GitHub repository

 

Symfony

symfony Framework

This is another member of the top-framework club.

 

Symfony started in 2005 by Fabien Potencies, CEO at SensioLabs and Blackfire.io.

 

At its first version, Symfony was supporting PHP 5.0 and just a couple of features, since then it has increased in popularity and reliability becoming now one of the 3 most popular just after Laravel and CodeIgniter and the first by usage from enterprise companies.

 

Symfony is composed by sets of several PHP components that merged together to form the framework.

 

Since its initial release, it was published on a regular base, at least 2 new versions per year.

 

Until now,

 

all of the different releases have at few months of support and in some cases, it goes up to three years,

 

There are 4 different versions currently on an LTS release; 2.7 and 2.8 which were both released in 2015, while versions 3.4 and 4.0 was released in November 2017.

 

The next version will be the 4.1 and it was released in May 2018 and it will support PHP 7.1.3 and newer.

 

As I said early, this framework includes plenty of components, more than 30, and explaining all of them is out of the scope of this article.

 

But some are really interesting and worthy to be mentioned here.

 

Among them, we find the cache component which provides an extended PSR-6 and PSR-16 for adding cache to the applications, the console component which is self-explanatory,

 

A PHPUnit bridge that reports legacy test and deprecated code, as well as security, translation, routing and validator components.

 

One of the amazing characteristics of this framework is its documentation.

 

The guys who are developing this project not only have created a very detailed one but there is an explanation for each of the components.

 

There are also tons of people talking about this framework and a huge community, so documentation and support will never be a problem and this is something to be considered from someone who wants to start using it.

 

Symfony Official Website

Symfony GitHub Repository

 

TwistPHP

 

twistphp Framework

This is a little framework that makes of the ease of use its trademark.

 

It is an open-source framework given away under GNU license.

 

It contains several features that can be implemented by almost only a couple of lines of code.

 

TwistPHP born as a private project, and as improvements took place, its source-code became public and moved to a GitHub repository in July 2014.

 

The first official release occurred with TwistPHP 2.3.4 in November 2014.

 

Throughout these years, this software had plenty of time to improve and now with its last stable release (3.0.5), it has a complete MVC architecture, Object Oriented design, and brand new method to connect to the database and create MySql queries, the way it has built facilitate its extendibility and reliability.

 

Basically,

 

it can be considered a modern framework in all and for all.

 

If you want to give it a try or help the project grow you can support it through its GitHub repository below

 

Twistphp Official Website

TwistPHP GitHub Repository

 

TYPO3 Flow

TYPO3 Framework

To effectively describe this framework, the story needs to start with TYPO3.

 

It is a free and open-source CMS developed more than 20 years ago (initial release dated 1998).

 

Much used in the German-speaking countries but also available in more than 50 languages,

 

TYPO3 is used to build any type of website.

 

Just to have an idea of how big this CMS is, its code has been edited and improved from more than 300 contributors, and at the moment it has been installed more than 500000 times.

 

TYPO3 Flow was a branch of TYPO3, The team wanted to create a product that would be modern and could have been used independently from TYPO3.

 

After several months of development, the beta was released on August 2011, it also is an open-source product.

 

The latest release is the 9.5.0 and it is dated 2nd October 2018.

 

The code is the base code of TYPO3 Neos but as said, it can be used even without the CMS.

 

It has been written following all the latest principle of coding such us the MVC paradigm, AOP (Aspect-Oriented-Programming), DDD (Domain-Driven-Design) and TDD (Test-Driven-Development), etc.

 

For this reason, the software requires version 5.3 or newest.

 

As per database it uses Doctrine 2 and can be interfaced with MySql and PostgreSQL.

 

Another interesting feature about TYPO3 Flow is Fluid;

 

Fluid is its template engine.

 

It supports all logical structures of a programming language such as condition, iterations, loops, etc, by providing a really easy syntax and avoiding the use of PHP in the template files.

 

Flow Framework can now be found under the name of "Neos Flow" or just Flow, if the context is known.

 

There is no longer a connection to TYPO3 besides a few bits of shared code.

 

Flow Official Website

Flow GitHub Repository

 

Yii

YII Framework

Yii is a PHP framework that has been developed by the same creators of Prado.

 

To be honest, it was born as an attempt to fix all Prado problems (see Prado review).

 

Like others framework, it is released under the new BSD License, thus, it is possible to use it and create open-source web applications for free.

 

The first beta version was released in 2006 after several months of development, followed by its official 1.0 version in December 2008.

 

A more complete version was released in January 2010, It included a form builder, ActiveRecord, an internal unit test library and several more features that make of Yii a more complete PHP framework than its predecessor.

 

Since the beginning, the developers decided to maintain this project up to date with the most recent technology.

 

At the moment, the current version 2.0.15 has been released in March 2018 and fully supports PHP 7.

 

There aren’t particular features or special peculiarity but it is a pretty solid framework and among the characteristics of the latest release you will have:

 

MVC design pattern, internationalization, and localizations using I18N and L10N, those allow translating text and format time and dates, error handlers and loggings, security measure against XSS and cross-site request forgery, plus a testing functionality of PHPUnit and Selenium.

 

As you have seen numerous times above, one of the main points I am considering when I need to decide whether to start using a new PHP framework is the documentation.

 

Yii's documentation is second to none.

 

I am not saying they have the best documentation in the world but it is extremely extensive and very well thought.

 

It is divided in two parts,

 

The guide and the part concerned on the API, each of them is split by concepts, which make the research of a specific feature much easier and it is also available in several languages, including Spanish, Chinese and Polish.

 

The Learning curve is low to just start but high to be good in the architecture of big projects with Yii.

 

Overall, Yii is great for rapid app prototyping and what's more, you can really enhance that prototype afterward, not throwing it away and re-writing.

 

There are many tools out of the box.

It is faster than many frameworks and doesn't cache much.

Also, it's very easy to debug in case of errors. It’s not too layered while being flexible.”

In conclusion,

 

I think that Yii learned the lesson imparted by the Prado project, even though online there are still doubt about the quality of the framework surely you can taste the effort they put into it.

 

YII Official Website

YII GitHub Repository

Zend Framework

Zend Framework

There are lots of controversy about Zend and its whole environment,

 

It is considered to be one of the most popular PHP Framework available nowadays (and the huge number of installations confirm this statement).

 

First released in March 2006, it is an open-source product licensed under the New BSD license.

 

Initially, it was a unique product,

 

after the version 2.5 the developers decide to create a more modular product so they split the framework into several components and it became a collection of PHP packages.

 

There are more than 60 components and plugin to choose from.

 

Among the most important you will find the Authentication, Crypt, Json, Mail, Math, Paginator, Serializer, and Validator.

 

Another advantage of using Zend is its predisposition to TDD(Test-Driven-Development),

 

Zend implements Zend_test, which uses PHPUnit, it allows you to use controllers, models, and libraries.

 

In order to implement PHPUnit to the project, you need to utilize Zend_tool which is the standard scaffolding utility of Zend.

 

As always, I keep particular attention to documentation, tutorials and here Zend is the best of the best.

 

Not only do they have an amazing documentation, but they went several steps further by creating training days, conferences (ZendCon), and a worldwide recognized set of certifications.

 

All this goes alongside the huge community of developers that use it and share its knowledge on daily basis.

 

As I said,

 

this is a good PHP framework,

 

but it has its downside (the quality of the code could be improved and it is definitely not the fastest framework listed in this article), but generally, it is a good framework, and its focus on marketing paid back (who can blame them for it?).

 

Not to mention,

 

the PHP Zend Certificate worth as much as a computer science degree for some HR manager.

 

Zend Official Website

Zend GitHub Repository

Zend Certification

 

Conclusion

 

I am sure that all of us have heard at least once people saying that PHP has died, or sentences like:

There is Python now”,

.NET is the new PHP”,

Have you tried Ruby, it’s amazing”,

 

The reality is the PHP has changed, and it is still changing nowadays.

 

For a while, it seemed that version 5.5 (released in June 2013) would have been the last one,

 

the abandoned 6.x version and then the upgraded version to 7.0 which was very slow and this gave time to other back-end languages to rise and get more popular. And current PHP 7.3 is good and very fast.

 

So now enjoy with your favourite PHP framework.



Leave a Reply

Your email address will not be published. Required fields are marked *

   Confirm you are not a spammer
   Notify me of follow-up comments by email.