easycorp / easyadmin-no-final-plugin
It removes the 'final' PHP keyword from all EasyAdmin classes so you can extend those classes in your projects.
Installs: 9 431
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 3
Type:composer-plugin
Requires
- php: >=8.0.2
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
This package is not auto-updated.
Last update: 2024-11-03 15:32:31 UTC
README
EasyAdmin is designed to not allow class inheritance and that's why all
its classes use the final
PHP keyword. This is troublesome for those who want
to extend EasyAdmin classes to add new features.
This project is a Composer plugin that removes the final
PHP keyword from all
EasyAdmin classes, so you can extend all of them. It only modifies EasyAdmin
files located in the vendor/
directory of your project. It doesn't change any
other file in your application.
Run the following command to install this Composer plugin in your projects:
$ composer require easycorp/easyadmin-no-final-plugin
When does this plugin update EasyAdmin classes?
- Just after installing this Composer plugin;
- Just after installing or updating any EasyAdmin version.