File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "package.name" : " Polymorphine/App" ,
3+ "repository.name" : " polymorphine/app" ,
4+ "package.description" : " PHP Front Controller for HTTP applications" ,
5+ "namespace.src" : " Polymorphine\\ App" ,
6+ "author.name" : " Shudd3r" ,
7+ "author.email" : " q3.shudder@gmail.com"
8+ }
Original file line number Diff line number Diff line change 5050 - name : " Coding standard CodeSniffer checks"
5151 run : |
5252 vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src
53- vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/CodeSamples/* tests
53+ vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/code-samples/* tests
54+ - name : " Package skeleton validation"
55+ run : vendor/bin/polymorphine-skeleton check
5456 - name : " Run PhpUnit tests with coverage"
5557 run : |
5658 mkdir -p build/logs
Original file line number Diff line number Diff line change 1- .dev /
2- .idea /
3- vendor /
1+ /.dev /
2+ /vendor /
43/composer.lock
Original file line number Diff line number Diff line change 1- # Polymorphine App
2- [ ![ Latest Stable Version ] ( https://poser.pugx.org/polymorphine/app/version )] ( https://packagist.org/packages/polymorphine/app )
1+ # Polymorphine/ App
2+ [ ![ Latest stable release ] ( https://poser.pugx.org/polymorphine/app/version )] ( https://packagist.org/packages/polymorphine/app )
33[ ![ Build status] ( https://github.com/polymorphine/app/workflows/build/badge.svg )] ( https://github.com/polymorphine/app/actions )
44[ ![ Coverage status] ( https://coveralls.io/repos/github/polymorphine/app/badge.svg?branch=develop )] ( https://coveralls.io/github/polymorphine/app?branch=develop )
55[ ![ PHP version] ( https://img.shields.io/packagist/php-v/polymorphine/app.svg )] ( https://packagist.org/packages/polymorphine/app )
66[ ![ LICENSE] ( https://img.shields.io/github/license/polymorphine/app.svg?color=blue )] ( LICENSE )
7- ### PHP Front Controller for HTTP applications (in development)
7+ ### PHP Front Controller for HTTP applications
88
99##### Goals: Framework should be * easy to learn* when programming is * difficult to master*
1010- minimum conventions, simple API
2020- [x] encapsulated configuration
2121- [x] PSR-11 container (optional use)
2222- [x] composite routing (polymorphic structure)
23+
24+ ### Installation with [ Composer] ( https://getcomposer.org/ )
25+ ``` bash
26+ composer require polymorphine/app
27+ ```
28+
29+ ...
30+
Original file line number Diff line number Diff line change 22 "name" : " polymorphine/app" ,
33 "description" : " PHP Front Controller for HTTP applications" ,
44 "type" : " library" ,
5+ "license" : " MIT" ,
6+ "authors" : [
7+ {
8+ "name" : " Shudd3r" ,
9+ "email" : " q3.shudder@gmail.com"
10+ }
11+ ],
512 "minimum-stability" : " dev" ,
613 "prefer-stable" : true ,
714 "require" : {
1219 "psr/http-server-middleware" : " ^1.0"
1320 },
1421 "require-dev" : {
15- "polymorphine/dev" : " 0.1 .*"
22+ "polymorphine/dev" : " 0.2 .*"
1623 },
17- "license" : " MIT" ,
18- "authors" : [
19- {
20- "name" : " Shudd3r" ,
21- "email" : " q3.shudder@gmail.com"
22- }
23- ],
2424 "autoload" : {
2525 "psr-4" : {
2626 "Polymorphine\\ App\\ " : " src/"
3333 },
3434 "scripts" : {
3535 "test-cs" : [
36- " vendor/bin/php-cs-fixer --dry-run -v --config=cs-fixer.php.dist --path-mode=intersection fix src tests" ,
37- " vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src" ,
38- " vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/CodeSamples/* tests"
39- ]
36+ " php-cs-fixer --dry-run -v --config=cs-fixer.php.dist --path-mode=intersection fix src tests" ,
37+ " phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src" ,
38+ " phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/code-samples/* tests"
39+ ],
40+ "test-php" : " phpunit" ,
41+ "test-skeleton" : " polymorphine-skeleton check"
4042 }
4143}
Original file line number Diff line number Diff line change 22<phpunit
33 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
44 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5/phpunit.xsd"
5- cacheResultFile =" .dev/.phpunit.result.cache"
5+ cacheResultFile =" .dev/temp/ .phpunit.result.cache"
66 colors =" true"
77 bootstrap =" vendor/autoload.php"
88>
You can’t perform that action at this time.
0 commit comments