PHP Classes

PHP Refactor: Refactor PHP replacing variables and functions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 270 All time: 7,723 This week: 560Up
Version License PHP version Categories
refactor 1.0GNU General Publi...5.0PHP 5, Tools
Description 

Author

This class can refactor PHP replacing variables, functions and class names in one or more PHP scripts.

It can parse scripts in a given directory to search and replace the names of given variables, functions and classes.

The refactored scripts are saved to another given directory.

Innovation Award
PHP Programming Innovation award nominee
November 2013
Number 4


Prize: One downloadable e-book of choice by O'Reilly
Some times applications need to be refactored by changing the names of classes, functions and variables.

This class provides a solution to refactor PHP code by replacing names in given PHP files.

Manuel Lemos
Picture of Eper Kalman
Name: Eper Kalman <contact>
Classes: 10 packages by
Country: Serbia Serbia
Innovation award
Innovation award
Nominee: 3x

 

  Files folder image Files (4)  
File Role Description
Files folder imagein (1 file)
Files folder imageout (1 file)
Accessible without login Plain text file example.php Example example script
Plain text file replacer.class.php Class class main

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:270
This week:0
All time:7,723
This week:560Up