php-censor icon indicating copy to clipboard operation
php-censor copied to clipboard

Move to Symfony (v5) framework

Open corpsee opened this issue 7 years ago • 5 comments

Move to Symfony (v5) framework.

corpsee avatar Jan 11 '19 18:01 corpsee

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:

  1. Laravel is based on Symfony components so might be easy to migrate some of the existing code like commands.
  2. Built-in support for migrations. This would replace the need for phynx.
  3. Database layer with query builder, ORM, and support for popular database engines.
  4. Queues for sending emails or deferring other background tasks.
  5. Built-in security layer for user authentication and authorization.
  6. Built with testability in mind. Includes support to test Console Commands, HTTP tests and more.
  7. Powerful templating engine - Blade
  8. Built-in localization support.
  9. Front-end asset management and processing with Laravel Mix. It basically leverages the use of Webpack and modern UI tooling.
  10. Real time commmunication support via Broadcasting with front-end and backend support.
  11. 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.

ptejada avatar Jan 12 '19 21:01 ptejada

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.

corpsee avatar Jan 13 '19 04:01 corpsee

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.

benr77 avatar Jan 27 '19 11:01 benr77

@corpsee Any news about this (moving to Symfony) and can we contribute yet ?

ismaail avatar Jan 26 '21 12:01 ismaail

@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.

corpsee avatar Jan 26 '21 16:01 corpsee