gavinggordon / helphp
A PHP CLI package that provides the developer with the means to generate PHP related files, like classes and .ini's, in a variety of different levels of both simplicity and complexity.
1.0.0
2017-01-02 06:28 UTC
Requires
- pimple/pimple: ~3.0
- spatie/array-to-xml: ^2.2
- symfony/config: ^3.2
- symfony/console: ^3.2
- symfony/dependency-injection: ^3.2
- symfony/filesystem: ^3.2
- symfony/process: ^3.2
- symfony/yaml: ^3.2
This package is not auto-updated.
Last update: 2024-11-09 19:56:28 UTC
README
Description
This is a PHP CLI package which provides some helpful functions that make creating PHP-related files easier and faster, whilst also maintaining strict visual file data continuity.
Dependencies
- php ^5.5
- symfony/config ^3.2
- symfony/console ^3.2
- symfony/dependency-injection ^3.2
- symfony/filesystem ^3.2
- symfony/event-dispatcher ^3.2
- symfony/process ^3.2
- symfony/yaml ^3.2
- pimple/pimple ~3.0
- spatie/array-to-xml ^2.2
Installation
$ composer require gavinggordon/helphp ^1.0.0
Usage
$ php helphp create:class Test
Commands Overview
- Create
- Generic Class
- Arguments
- 'classname'
- 'savedir'
- Options
- '--namespace, -n'
- '--uses, -u'
- '--extends, -e'
- '--implements, -i'
- '--traits, -t'
- '--singleton, -s'
- '--magic-set-get, -m'
- '--constants, -c'
- '--public-properties, -p'
- '--protected-properties, -r'
- '--private-properties, -w'
- '--public-static-properties, -x'
- '--protected-static-properties, -y'
- '--private-static-properties, -z'
- Arguments
- Abstract Class (Still In Production)
- Interface (Still In Production)
- Trait (Still In Production)
- Generic Class
- Review (Still In Production)
- Update (Still In Production)
- Delete (Still In Production)
Issues
If you have any issues at all, please post your findings in the issues page at https://github.com/gavinggordon/helphp/issues.
License
This package utilizes the MIT License.