Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Sample of PHP application/library with composer and PSR support

License

Notifications You must be signed in to change notification settings

corpsee/phpapplicationsample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.