Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 110 | All time: 9,644 This week: 45 |
Version | License | PHP version | Categories | |||
phpprojectgen 1.0.0 | GNU General Publi... | 5 | PHP 5, Project Management, Code Gener... |
Description | Author | |
This package can generate files for a Composer skeleton project. Innovation Award
|
Create a package to generate php skeleton for package (composer)
After download run
composer install
Configure your package (config.json)
{
"name": "Elminson",
"projectname": "NewProject",
"description": "Project description",
"phpunit": true,
"developer": "Elminson De Oleo Baez",
"email": "edeoleo@gmail.com",
"license": "MIT",
"minimum-stability": "dev",
"type": "project"
}
php generate.php
this will generate a zip file (projectname.zip) with this structure and the correct namespace
src/NewProject.php
tests/testNewProject.php
composer.json
README.md
After unzip the file you have to run
composer install
and you will have your project up and running in 5 minutes or less.
Files (10) |
File | Role | Description | ||
---|---|---|---|---|
src (3 files) | ||||
tests (1 file) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
config.json | Data | Auxiliary data | ||
generate.php | Example | Example script | ||
README.md | Doc. | Documentation | ||
results.json | Data | Auxiliary data |
Files (10) | / | src |
File | Role | Description |
---|---|---|
PHPProjectGen.php | Class | Class source |
ProjectTemplate.php.raw | Class | Class source |
testProjectTemplate.php.raw | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.