Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elazar/php-class-splitter
A PHP CLI script that splits a file containing multiple PHP classes up into multiple files with one class per file.
https://github.com/elazar/php-class-splitter
Last synced: 2 months ago
JSON representation
A PHP CLI script that splits a file containing multiple PHP classes up into multiple files with one class per file.
- Host: GitHub
- URL: https://github.com/elazar/php-class-splitter
- Owner: elazar
- Created: 2010-01-22T22:57:53.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2018-09-08T01:15:48.000Z (over 6 years ago)
- Last Synced: 2024-10-03T10:49:03.922Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 13
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
php php-class-splitter.php FILE DEST
Splits a file containing multiple PHP classes up into multiple files with
one class per file. Overwrites any existing files in the destination path
with the same name, useful for handling redundant class definitions
across multiple files. Requires the tokenizer extension.* FILE - path to a single PHP file containing multiple class definitions
* DEST - path to a directory to contain the new class files# License
[MIT License](http://opensource.org/licenses/MIT)