Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shochdoerfer/php53-migrationscript

A script to transform PEAR classnames to PHP 5.3 namespaces
https://github.com/shochdoerfer/php53-migrationscript

Last synced: about 2 months ago
JSON representation

A script to transform PEAR classnames to PHP 5.3 namespaces

Awesome Lists containing this project

README

        

README
======

What is this?
----------------
This is the script I used to convert a PHP project from the PEAR naming and
package conventions to the PHP 5.3 namespace conventions.
For example a file named MyApp_Service_UserService would be named to UserService.
References to MyApp_Service_UserService in other files will be changed to
\MyApp\Service\UserService

How to use it?
-------------------
Call the php script from command line and pass the directory where the files
reside which you want to convert.