added composer.json +51 -0
| new file mode 100644 |
| @@ -0,0 +1,51 @@ |
| 1 | +{ |
| 2 | + "name": "jdecool/scaleway-runtime", |
| 3 | + "description": "Symfony Runtime to run PHP applications on Scaleway Serverless Functions", |
| 4 | + "type": "library", |
| 5 | + "license": "MIT", |
| 6 | + "keywords": ["symfony", "runtime", "scaleway", "serverless"], |
| 7 | + "authors": [ |
| 8 | + { |
| 9 | + "name": "Jeremy Decool" |
| 10 | + } |
| 11 | + ], |
| 12 | + "require": { |
| 13 | + "php": ">=8.4", |
| 14 | + "symfony/http-foundation": "^7.4 || ^8.0", |
| 15 | + "symfony/http-kernel": "^7.4 || ^8.0", |
| 16 | + "symfony/runtime": "^7.4 || ^8.0" |
| 17 | + }, |
| 18 | + "require-dev": { |
| 19 | + "friendsofphp/php-cs-fixer": "^3.95", |
| 20 | + "phpstan/phpstan": "^2.3", |
| 21 | + "phpstan/phpstan-phpunit": "^2.1", |
| 22 | + "phpunit/phpunit": "^13.4" |
| 23 | + }, |
| 24 | + "autoload": { |
| 25 | + "psr-4": { |
| 26 | + "JDecool\\ScalewayRuntime\\": "src/" |
| 27 | + } |
| 28 | + }, |
| 29 | + "autoload-dev": { |
| 30 | + "psr-4": { |
| 31 | + "JDecool\\ScalewayRuntime\\Tests\\": "tests/" |
| 32 | + } |
| 33 | + }, |
| 34 | + "config": { |
| 35 | + "allow-plugins": { |
| 36 | + "symfony/runtime": false |
| 37 | + }, |
| 38 | + "sort-packages": true |
| 39 | + }, |
| 40 | + "scripts": { |
| 41 | + "test": "phpunit", |
| 42 | + "phpstan": "phpstan analyse", |
| 43 | + "cs": "php-cs-fixer fix --dry-run --diff", |
| 44 | + "cs-fix": "php-cs-fixer fix", |
| 45 | + "check": [ |
| 46 | + "@cs", |
| 47 | + "@phpstan", |
| 48 | + "@test" |
| 49 | + ] |
| 50 | + } |
| 51 | +} |
| new file mode 100644 |
| @@ -0,0 +1,51 @@ |
| | 1 | +{ |
| | 2 | + "name": "jdecool/scaleway-runtime", |
| | 3 | + "description": "Symfony Runtime to run PHP applications on Scaleway Serverless Functions", |
| | 4 | + "type": "library", |
| | 5 | + "license": "MIT", |
| | 6 | + "keywords": ["symfony", "runtime", "scaleway", "serverless"], |
| | 7 | + "authors": [ |
| | 8 | + { |
| | 9 | + "name": "Jeremy Decool" |
| | 10 | + } |
| | 11 | + ], |
| | 12 | + "require": { |
| | 13 | + "php": ">=8.4", |
| | 14 | + "symfony/http-foundation": "^7.4 || ^8.0", |
| | 15 | + "symfony/http-kernel": "^7.4 || ^8.0", |
| | 16 | + "symfony/runtime": "^7.4 || ^8.0" |
| | 17 | + }, |
| | 18 | + "require-dev": { |
| | 19 | + "friendsofphp/php-cs-fixer": "^3.95", |
| | 20 | + "phpstan/phpstan": "^2.3", |
| | 21 | + "phpstan/phpstan-phpunit": "^2.1", |
| | 22 | + "phpunit/phpunit": "^13.4" |
| | 23 | + }, |
| | 24 | + "autoload": { |
| | 25 | + "psr-4": { |
| | 26 | + "JDecool\\ScalewayRuntime\\": "src/" |
| | 27 | + } |
| | 28 | + }, |
| | 29 | + "autoload-dev": { |
| | 30 | + "psr-4": { |
| | 31 | + "JDecool\\ScalewayRuntime\\Tests\\": "tests/" |
| | 32 | + } |
| | 33 | + }, |
| | 34 | + "config": { |
| | 35 | + "allow-plugins": { |
| | 36 | + "symfony/runtime": false |
| | 37 | + }, |
| | 38 | + "sort-packages": true |
| | 39 | + }, |
| | 40 | + "scripts": { |
| | 41 | + "test": "phpunit", |
| | 42 | + "phpstan": "phpstan analyse", |
| | 43 | + "cs": "php-cs-fixer fix --dry-run --diff", |
| | 44 | + "cs-fix": "php-cs-fixer fix", |
| | 45 | + "check": [ |
| | 46 | + "@cs", |
| | 47 | + "@phpstan", |
| | 48 | + "@test" |
| | 49 | + ] |
| | 50 | + } |
| | 51 | +} |