Move to Symfony (v5) framework
Move to Symfony (v5) framework.
My suggestion is to consider using Laravel since it offers a more feature pack package with a rich ecosystem and a strong community. Based on the features that are already available in the PHP Censor project below is a list of features that can ease the migration process and/or improve the code organization:
- Laravel is based on Symfony components so might be easy to migrate some of the existing code like commands.
- Built-in support for migrations. This would replace the need for phynx.
- Database layer with query builder, ORM, and support for popular database engines.
- Queues for sending emails or deferring other background tasks.
- Built-in security layer for user authentication and authorization.
- Built with testability in mind. Includes support to test Console Commands, HTTP tests and more.
- Powerful templating engine - Blade
- Built-in localization support.
- Front-end asset management and processing with Laravel Mix. It basically leverages the use of Webpack and modern UI tooling.
- Real time commmunication support via Broadcasting with front-end and backend support.
- Example community Laravel package that completements the realtime capabilities - Laravel WebSockets. This can be seen as a community perk that you can easily take advantage of by using the Laravel framework.
It's too early to talk about it. But If I will work on the issue, then I will choose the Symfony4 (In my opinion Symfony more stable and predictable). If we will have other regular developers in the future, framework can be discussed again.
Laravel has a much bigger following in North America, but Symfony is more popular in Europe and elsewhere I think. Plenty of pros to both options of course.
Personally I'm +1 for Symfony.
@corpsee Any news about this (moving to Symfony) and can we contribute yet ?
@ismaail Of course, any contribution will be a great help! So far, I don't have enough free time for so big changes. Perhaps something will change in the future.