diff --git a/.github/workflows/cs-fix.yml b/.github/workflows/cs-fix.yml index 4ff0cae..76831d6 100644 --- a/.github/workflows/cs-fix.yml +++ b/.github/workflows/cs-fix.yml @@ -4,12 +4,12 @@ on: branches: [ master ] jobs: php-cs-fixer: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run php-cs-fixer uses: docker://oskarstark/php-cs-fixer-ga - - uses: stefanzweifel/git-auto-commit-action@v4 + - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_user_name: 'digitalentropybot' commit_user_email: 'dev@digitalentropy.co.id' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 92d5751..91b6778 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,12 +2,12 @@ name: Test on: push jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: - php: [ 8.1, 8.2 ] + php: [ 8.2, 8.3 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -19,7 +19,7 @@ jobs: - name: Run Test run: composer test - name: Upload to CodeCov.io - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CDCV_KEY }} file: ./build/clover.xml diff --git a/composer.json b/composer.json index f11005a..e0b6eec 100644 --- a/composer.json +++ b/composer.json @@ -3,18 +3,17 @@ "description": "Class base routing for laravel application.", "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0|^10.0", - "illuminate/console": "^8.0|^9.0|^10.0", - "illuminate/routing": "^8.0|^9.0|^10.0", - "illuminate/filesystem": "^8.0|^9.0|^10.0", - "illuminate/contracts": "^8.0|^9.0|^10.0" + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/console": "^8.0|^9.0|^10.0|^11.0", + "illuminate/routing": "^8.0|^9.0|^10.0|^11.0", + "illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0", - "phpunit/phpunit": "^10.0", + "orchestra/testbench": "^9.0", + "phpunit/phpunit": "^11.0", "jetbrains/phpstorm-attributes": "^1.0", - "roave/security-advisories": "dev-latest", - "vimeo/psalm": "^5.6" + "roave/security-advisories": "dev-latest" }, "license": "MIT", "authors": [ diff --git a/readme.md b/readme.md index 44c8915..44b177e 100644 --- a/readme.md +++ b/readme.md @@ -36,8 +36,13 @@ composer require dentro/yalr ``` ### Requirements - - PHP : "^8.0" - - Laravel : "^8.0|^9.0" +| Laravel | Yalr | +|---------|------| +| 8.x | ^1.0 | +| 9.x | ^1.1 | +| 10.x | ^1.2 | +| 11.x | ^1.3 | + ### Applying into your project Run command in your project