diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a77f14f..55ebf7d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] name: PHP ${{ matrix.php-versions }} Test steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index aea29eb..31670ad 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ fluent logger for laravel ## Versions -| Framework | Library | -|-----------------------|---------------------------------| -| Laravel / Lumen < v10 | ytake/laravel-fluent-logger: ^5 | -| Laravel / Lumen v10 | ytake/laravel-fluent-logger: ^6 | +| Framework | Library | +|------------------------|---------------------------------| +| Laravel / Lumen < v10 | ytake/laravel-fluent-logger: ^5 | +| Laravel / Lumen >= v10 | ytake/laravel-fluent-logger: ^6 | @@ -232,7 +232,8 @@ You could use a tag format of `myapp.{{foo}}` to produce a tag of `myapp.bar`. ## Monolog processors -You can add processors to the monolog handlers by adding them to the `processors` array within the `fluent.php` config. +You can add [processors](https://seldaek.github.io/monolog/doc/01-usage.html#using-processors) to the Monolog handlers by adding them to +the `processors` array within the `fluent.php` config. config/fluent.php: ```php diff --git a/composer.json b/composer.json index f0a333c..bd3a059 100644 --- a/composer.json +++ b/composer.json @@ -19,18 +19,18 @@ "require": { "php": "^8.1", "fluent/logger": "^1.0", - "illuminate/log": "^10.0", - "illuminate/support": "^10.0", - "illuminate/config": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/container": "^10.0", - "illuminate/events": "^10.0", + "illuminate/log": "^10.0 | ^11.0", + "illuminate/support": "^10.0 | ^11.0", + "illuminate/config": "^10.0 | ^11.0", + "illuminate/contracts": "^10.0 | ^11.0", + "illuminate/container": "^10.0 | ^11.0", + "illuminate/events": "^10.0 | ^11.0", "monolog/monolog": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^9.0", + "phpunit/phpunit": "^10.0", "php-coveralls/php-coveralls": "^2.4", - "illuminate/filesystem": "^10.0", + "illuminate/filesystem": "^10.0 | ^11.0", "phpstan/phpstan": "^1.10", "slevomat/coding-standard": "^6.4", "squizlabs/php_codesniffer": "^3.5", diff --git a/phpunit.xml b/phpunit.xml index 7a4ee25..cbe9e6b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,6 @@ - + - - ./src - - - ./src/config - ./src - @@ -19,4 +12,13 @@ + + + ./src + + + ./src/config + ./src + +