Download the PHP package skoyah/phpackage without Composer
On this page you can find all versions of the php package skoyah/phpackage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download skoyah/phpackage
More information about skoyah/phpackage
Files in skoyah/phpackage
Package phpackage
Short Description Scaffolds a new php package project.
License MIT
Homepage https://github.com/skoyah/phpackage
Informations about the package phpackage
PHPackage - rapid package scaffolding.
How often do you find yourself doing the same things over and over when you want to create a new package?
This package allows you to run a simple console command to quiclkly scaffold a new folder structure for your PHP packages.
Installation
Start by installing this package on your global composer directory:
Usage
Now everytime you want to create a new package just run the following command on your terminal:
This will create a folder sructure similar to this:
In addition, if you want to use the well-known template
Skeleton, from The PHP League, just run the same command with the --src skeleton
flag. This will install the most recent version of that template.
Adding PHPUnit
If you like to start writting your tests using PHPUnit, make sure to pass the optional flag --unit
when creating a new package. This will add the phpunit/phpunit
dev-dependency to your composer.json
and also create the initial boilerplate to run your tests.
Easy, right?
You're almost done! Just remember to edit the fields on your composer.json
and then run $ composer install
inside your project folder.
Happy coding!
All versions of phpackage with dependencies
guzzlehttp/guzzle Version ^6.3
symfony/filesystem Version ^4.2