| Package Data | |
|---|---|
| Maintainer Username: | Robbo |
| Maintainer Contact: | mail@robertclancy.net (Robbo) |
| Package Create Date: | 2014-03-08 |
| Package Last Update: | 2014-03-08 |
| Home Page: | http://bacon.sexy |
| Language: | PHP |
| License: | DBAD |
| Last Refreshed: | 2025-10-30 15:03:44 |
| Package Statistics | |
|---|---|
| Total Downloads: | 4 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 11 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
This is used to rename badly named classes. Comes with built in Laravel support to rename Facade to Surrogate.
100% tested with TDD
phpmin usage to get maximum performance
can literally change thousands of class names without any performance issues at all
Add "robclancy/class-name-fix-utility": "dev-master" to your composer.json in the require block and do a composer update.
Simply run ClassNameFixUtility\Facade::fix($classFrom, $classTo).
Add Gary\Controller to your app/config.php services array and Facade will be renamed to Surrogate. Now when you want to extend the Facade you can do it by a more appropriately named Surrogate. 100% backward compatable.