diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c7f5384..30bf469 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: push: pull_request: schedule: - - cron: "0 0 * * 0" # Once a Week on first day of week at 00:00 + - cron: '0 0 * * 0' jobs: tests: @@ -15,13 +15,18 @@ jobs: matrix: os: [ubuntu-latest] php: [8.1, 8.2] - laravel: [9.*, 10.*] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 9.* testbench: 7.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 2056c79..2bfe163 100644 --- a/composer.json +++ b/composer.json @@ -1,74 +1,74 @@ { - "name": "fumeapp/humble", - "type": "library", - "license": "MIT", - "description": "passwordless authentication and detailed sessioning for laravel", - "keywords": [ - "Laravel", - "API", - "authentication", - "passwordless", - "PHP" - ], - "config": { - "sort-packages": true - }, - "minimum-stability": "dev", - "prefer-stable": true, - "authors": [ - { - "name": "Kevin Olson", - "email": "acidjazz@gmail.com" - } - ], - "contributors": [ - "Kevin Olson ", - "Tanner Campbell " - ], - "require": { - "illuminate/support": "9.*|10.*", - "php": "^8.1", - "whichbrowser/parser": "^2.1", - "torann/geoip": "^3.0" - }, - "require-dev": { - "laravel/pint": "^1.1.1", - "mockery/mockery": "^1.4.4", - "nunomaduro/collision": "^7.0", - "orchestra/testbench": "^7.0|^8.0", - "phpunit/phpunit": "^8.0|^9.3|^10.0" - }, - "autoload": { - "psr-4": { - "Fumeapp\\Humble\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "Fumeapp\\Humble\\Tests\\": "tests" - } - }, - "extra": { - "laravel": { - "providers": [ - "Fumeapp\\Humble\\HumbleServiceProvider" - ] - } - }, - "scripts": { - "pint": [ - "vendor/bin/pint" + "name": "fumeapp/humble", + "type": "library", + "license": "MIT", + "description": "passwordless authentication and detailed sessioning for laravel", + "keywords": [ + "Laravel", + "API", + "authentication", + "passwordless", + "PHP" + ], + "config": { + "sort-packages": true + }, + "minimum-stability": "dev", + "prefer-stable": true, + "authors": [ + { + "name": "Kevin Olson", + "email": "acidjazz@gmail.com" + } ], - "test": [ - "./vendor/bin/testbench package:test --no-coverage" + "contributors": [ + "Kevin Olson ", + "Tanner Campbell " ], - "test-coverage": [ - "XDEBUG_MODE=coverage ./vendor/bin/phpunit --colors=always --testdox --coverage-text" - ] - }, - "scripts-descriptions": { - "pint": "Run the Pint Linter and Fixer.", - "test": "Run the PHPUnit tests.", - "test-coverage": "Run the PHPUnit tests with code coverage." - } + "require": { + "illuminate/support": "9.*|10.*|^11.0", + "php": "^8.1", + "whichbrowser/parser": "^2.1", + "torann/geoip": "^3.0" + }, + "require-dev": { + "laravel/pint": "^1.1.1", + "mockery/mockery": "^1.4.4", + "nunomaduro/collision": "^7.0|^8.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpunit/phpunit": "^8.0|^9.3|^10.0" + }, + "autoload": { + "psr-4": { + "Fumeapp\\Humble\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Fumeapp\\Humble\\Tests\\": "tests" + } + }, + "extra": { + "laravel": { + "providers": [ + "Fumeapp\\Humble\\HumbleServiceProvider" + ] + } + }, + "scripts": { + "pint": [ + "vendor/bin/pint" + ], + "test": [ + "./vendor/bin/testbench package:test --no-coverage" + ], + "test-coverage": [ + "XDEBUG_MODE=coverage ./vendor/bin/phpunit --colors=always --testdox --coverage-text" + ] + }, + "scripts-descriptions": { + "pint": "Run the Pint Linter and Fixer.", + "test": "Run the PHPUnit tests.", + "test-coverage": "Run the PHPUnit tests with code coverage." + } }