Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shochdoerfer/php53-migrationscript
- Owner: shochdoerfer
- Created: 2011-03-05T19:34:16.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-03-05T19:45:10.000Z (almost 14 years ago)
- Last Synced: 2024-10-14T03:42:20.331Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 79.1 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
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\UserServiceHow to use it?
-------------------
Call the php script from command line and pass the directory where the files
reside which you want to convert.