Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ yarn-error.log*
*.sln
*.sw*
/data/stilus.log
/coverage.clover
1 change: 1 addition & 0 deletions .stilus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ api:
log_file: "./data/stilus.log"

dashboard:
language: en_EN
web_server:
host: "0.0.0.0"
port: 8090
Expand Down
39 changes: 32 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "igniphp/stilus",
"version": "0.0.1",
"description": "",
"keywords": [],
"license": "BSD-3-Clause",
Expand All @@ -13,22 +12,48 @@
"require": {
"php": ">=7.1.0",
"igniphp/framework": "^2.0",
"igniphp/storage": "^0.4.2",
"igniphp/storage": "^0.6.0",
"igniphp/validation": "^1.1.0",
"symfony/yaml": "^4.1",
"zendframework/zend-mail": "^2.10",
"zendframework/zend-crypt": "^3.3"
"zendframework/zend-crypt": "^3.3",
"league/flysystem": "^1.0",
"zircote/swagger-php": "^3.0"
},
"scripts": {
"start": "php src/api/Stilus.php",
"stop": "kill $(cat ./data/stilus.pid)"
"post-install-cmd": [

],
"post-update-cmd": [],
"migrate": [
"Stilus\\Kernel\\Migration\\MigrationCommand::synchronize"
],
"ci": [
"composer validate --no-check-all --strict",
"@phpcs",
"@test-coverage"
],
"start": "php src/Stilus.php",
"stop": "kill $(cat ./data/stilus.pid)",
"phpcs": "phpcs --standard=PSR2 src",
"test": "phpunit",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"scripts-descriptions": {
"phpcs": "Checks that the application code conforms to coding standard",
"test-coverage": "Launches the preconfigured PHPUnit with coverage",
"ci": "Continues integration checks",
"migrate": "Runs migrations, example usage: composer migration 1.0.0"
},
"require-dev": {
"phpunit/phpunit": ">=5.7.0",
"mockery/mockery": ">=0.9.4",
"phpunit/php-code-coverage": ">=4.0.0"
"phpunit/php-code-coverage": ">=4.0.0",
"fzaninotto/faker": "^1.8"
},
"autoload": {
"exclude-from-classmap": [
"src/api/Stilus.php"
],
"psr-4": {
"Stilus\\": "src/api/"
}
Expand Down
Loading