robclancy/class-name-fix-utility

This is used to rename badly named classes. Comes with built in Laravel support to rename `Facade` to `Surrogate`.
4 11
Install
composer require robclancy/class-name-fix-utility
License:DBAD
Last Updated:Mar 8, 2014
Links: GitHub  ·  Packagist
Maintainer: Robbo

Class Name Fix Utility

This is used to rename badly named classes. Comes with built in Laravel support to rename Facade to Surrogate.

Good Code Makes Good Apps

100% tested with TDD

phpmin usage to get maximum performance

can literally change thousands of class names without any performance issues at all

Installation

Add "robclancy/class-name-fix-utility": "dev-master" to your composer.json in the require block and do a composer update.

Usage

Simply run ClassNameFixUtility\Facade::fix($classFrom, $classTo).

Laravel Usage

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.

Related Packages

imanghafoori/smart-realtime-facades

Real-time facades with IDE auto-completion.

475,344 33
nauvalazhar/facade-please

Laravel 5 Facade Generator

566 2
chaoticwave/blue-velvet

Laravel-Friendly PHP Utility Library

412 4
unisharp/laravel-utilities

Keep a change history for your models using laravel version 5.1.*

6 1
achyutn/filament-storage-monitor

A server storage monitoring widget for Filament.

7,464 37