Sample of PHP application/library with composer and PSR support
PHP
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
src
tests
.gitignore
.php-censor.yml
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml

README.md

PHP Censor Travis CI Latest Version Total downloads License SensioLabs Insight

PHP application sample

Sample of PHP application/library compliant with PSR-1, PSR-2, PSR-4 and Composer for PHP 5.4+. Help is always appreciated, if you see a bug, feel free to squish it for us with a pull request. Installation

You can install PHP application sample by composer. Add following code to "require" or "require-dev" section of the composer.json:

"require": {
    "OrbitTechnology/php-application-sample": "1.0.*"
}

And install dependencies using the Composer:

cd path/to/your-project
php composer.phar install

Tests

You can run the unit tests with the following commands:

cd path/to/php-application-sample
./vendor/bin/phpunit -c ./phpunit.xml

License

The PHP application sample is open source software licensed under the GPL-3.0 license.