PHP Classes

Helphp PHP Class Generator: Generate classes from configuration parameters

Recommend this page to a friend!
  Info   View files Documentation   View files View files (833)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-05-20 (15 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
helphp 1.0MIT/X Consortium ...5Language, Code Generation
Description Author

This package can generate classes from configuration parameters.

It provides a command-line interface to run classes to generate code for given classes.

Currently, the command takes several types of parameters like:

- The name of the class

- The class namespace

- The names of the classes that a new class uses or extends

- The names of the interfaces that the new class implements

- The path of a directory to save the generated files

- Magic getter and setter functions

- Constant values

- Names of the public, private, and protected class variables

- Generate a trait

Picture of Gavin Gordon Markowski
  Performance   Level  
Innovation award
Innovation award
Nominee: 5x

 

Details

Helphp PHP CLI

Latest Release Version Tag Usage License

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

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' - Abstract Class (Still In Production) - Interface (Still In Production) - Trait (Still In Production)
  • 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.

  Files folder image Files  
File Role Description
Files folder imageapp (1 file, 1 directory)
Files folder imagesrc (1 file, 1 directory)
Files folder imagetmp (1 file)
Files folder imagevendor (1 file, 5 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file helphp Example Example script
Accessible without login Plain text file helphp.php Example Example script
Accessible without login Plain text file LICENSE.txt Doc. Documentation
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads  
 100%
Total:0
This week:0

For more information send a message to info at phpclasses dot org.