tourze/easyadmin-no-final-plugin

It removes the 'final' PHP keyword from all EasyAdmin classes so you can extend those classes in your projects.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

Type:composer-plugin

1.0.1 2023-02-19 02:05 UTC

This package is auto-updated.

Last update: 2024-11-19 05:59:59 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.