Skip to content

Commit

Permalink
Merge pull request #1 from webparking/feature/adding-laravel-5.6-comp…
Browse files Browse the repository at this point in the history
…atibility

Added compatibility with Laravel 5.6
  • Loading branch information
JeroenVanOort committed Mar 25, 2019
2 parents 68110da + 0836dca commit 671e9ca
Show file tree
Hide file tree
Showing 5 changed files with 420 additions and 458 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -11,10 +11,16 @@ matrix:
env: LARAVEL='5.5.*' TESTBENCH='3.5.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.1
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.1
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.2
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.2
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.3
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.3
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'

before_install:
- travis_retry composer self-update
Expand Down
11 changes: 5 additions & 6 deletions README.md
Expand Up @@ -5,13 +5,13 @@
<p align="center">
<a href="https://travis-ci.org/webparking/laravel-queue-ensurer">
<img src="https://travis-ci.org/webparking/laravel-queue-ensurer.svg?branch=master" alt="Build Status">
</a>
</a>
<a href="https://scrutinizer-ci.com/g/webparking/laravel-queue-ensurer/?branch=master">
<img src="https://scrutinizer-ci.com/g/webparking/laravel-queue-ensurer/badges/quality-score.png?b=master" alt="Quality score">
</a>
</a>
<a href="https://scrutinizer-ci.com/g/webparking/laravel-queue-ensurer/?branch=master">
<img src="https://scrutinizer-ci.com/g/webparking/laravel-queue-ensurer/badges/coverage.png?b=master" alt="Code coverage">
</a>
</a>
</p>

This package provides a command (`queue:ensure-processes`) to allow running the Laravel queue worker (`queue:work`) from the Laravel schedule. This enables a cronjob to ensure that configured queue workers are running. It eliminates the need for a process manager like [supervisord](http://supervisord.org/), which is not available in all production environments (like when working with DirectAdmin or most other server control panels).
Expand Down Expand Up @@ -65,15 +65,14 @@ When developing, you can run `composer test` to execute all code quality checks
## Future features
These are features we may add. We don't have a specific need for them now, but we acknowledge their usefulness and we will add them when we have some down time. Should you or your project require one or more of these future features earlier, please submit a PR or create an issue.

* Add compatibility with more Laravel versions (only supporting 5.5 now)
* Add compatibility with more Laravel versions (only supporting 5.5 and 5.6 now)
* Configurable options for `queue:work`.
* Testing compatibility with Lumen
* Adding PHP 7.3 compatibility

## Licence and Postcardware

This software is open source and licensed under the [MIT license](LICENSE.md).

If you use this software in your daily development we would appreciate to receive a postcard of your hometown.
If you use this software in your daily development we would appreciate to receive a postcard of your hometown.

Please send it to: Webparking BV, Cypresbaan 31a, 2908 LT Capelle aan den IJssel, The Netherlands
10 changes: 5 additions & 5 deletions composer.json
Expand Up @@ -27,8 +27,8 @@
"php": ">=7.1.0",
"ext-json": "*",
"ext-posix": "*",
"illuminate/support": "~5.5.0",
"illuminate/console": "~5.5.0"
"illuminate/support": "~5.5.0|~5.6.0",
"illuminate/console": "~5.5.0|~5.6.0"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -56,9 +56,9 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.12",
"phpunit/phpunit": "^6",
"orchestra/testbench": "~3.5.0",
"orchestra/database": "~3.5.0",
"phpunit/phpunit": "^6|^7.0",
"orchestra/testbench": "~3.5.0|~3.6.0",
"orchestra/database": "~3.5.0|~3.6.0",
"phpmd/phpmd": "^2.6",
"phpstan/phpstan": "^0.11.2"
},
Expand Down

0 comments on commit 671e9ca

Please sign in to comment.