Download the PHP package raphhh/php-lib-bootstrap without Composer
On this page you can find all versions of the php package raphhh/php-lib-bootstrap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raphhh/php-lib-bootstrap
More information about raphhh/php-lib-bootstrap
Files in raphhh/php-lib-bootstrap
Package php-lib-bootstrap
Short Description A bootstrap for a PHP lib, including basic common files and settings
License MIT
Homepage https://github.com/Raphhh/php-lib-bootstrap
Informations about the package php-lib-bootstrap
PHP Lib Bootstrap
A bootstrap for a lib in PHP. Don't set, just code!
About
This bootstrap will install all the basic files and settings to start a PHP library.
This assumes you'll use Git for vcs, Composer for dependencies, PHPUnit for testing, Travis and Scrutinizer for integration servers.
Files architecture
├── src
| └── Dummy.php
├── tests
| └── DummyTest.php
├── vendor
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .scrutinizer.yml
├── .travis.yml
├── composer.json
├── LICENSE
├── phpunit.xml.dist
└── README.md
- "src" contains all your PHP code.
- "tests" contains all your PHP tests. See PHPUnit for more information.
- "vendor" contains all your PHP dependencies. See Composer for more information.
Installation
With Samurai (recommended)
Just execute Samurai with 'lib' boostrap.
With Composer
First, execute Composer to create your project.
Go into your project.
Then, you need to replace composer.json with your specific info.
Usage
Launch unit tests
This bootstrap is configured to use PHPUnit. To run the tests, cd to your project and enter the following command in your console:


