Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zendframework/Namespacer
PHP Class converter to namepaces.
https://github.com/zendframework/Namespacer
Last synced: 15 days ago
JSON representation
PHP Class converter to namepaces.
- Host: GitHub
- URL: https://github.com/zendframework/Namespacer
- Owner: zendframework
- Archived: true
- Fork: true (ralphschindler/Namespacer)
- Created: 2013-03-05T17:06:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-12-06T16:43:27.000Z (almost 5 years ago)
- Last Synced: 2024-08-02T00:25:59.364Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 542 KB
- Stars: 19
- Watchers: 7
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Namespacer
==========> ## Repository abandoned 2019-12-05
>
> This repository is no longer maintained.This tool will assist you in taking older underscore/prefix spaced code
and will namespace it as best as it can, and also make the files and class
names ZF/PEAR compatible.This two step command will first scan files and produce a map. You can
then view or edit the file before moving onto the second step. The
second step does the actual transformation. These transformations will
be done in place, so it is best to either do this in a separate copy of
the code, or on top of a git repository where you can easily reset --hard
if you need to.**Download**: https://github.com/zendframework/Namespacer/blob/master/namespacer.phar?raw=true
* First, create a map file:
```
namespacer.phar map --mapfile types.php --source path/to/src
```* Second, transform the types located in the map file:
```
namespacer.phar transform --mapfile types.php
```