Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2018-10-15 (1 year ago)  | | Not yet rated by the users | | Total: 98 | | All time: 9,352 This week: 295 |
|
Description | | Author |
This package can generate files for a Composer skeleton project.
It takes a configuration file in JSON format and generates the files for the skeleton of a project for installing with Composer.
The generated files are used to generate a ZIP archive that can be extracted before installing with Composer. Innovation Award
 October 2018
Number 5 |
Composer is a popular package for installing PHP applications.
This package can generate a set of files that will constitute the skeleton of a project that can be installed with Composer.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 2x |
|
Details
PHPProjectGen
Objective
Create a package to generate php skeleton for package (composer)
Usage:
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"
}
Execute
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.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.