Skip to content

Commit

Permalink
Merge pull request #28 from FoxxMD/laravel-9-support
Browse files Browse the repository at this point in the history
Laravel 9 Support
  • Loading branch information
MbahDjoe authored Jun 17, 2022
2 parents 6859bbc + 34d89ff commit 4c392c2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Laravel 5 - 8.x Task Scheduler with Elastic Beanstalk
# Laravel 5 - 9.x Task Scheduler with Elastic Beanstalk

*Ensure one instance in an Elastic Beanstalk environment is running Laravel's Scheduler*

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
}
],
"require": {
"illuminate/support": "5 - 8",
"illuminate/console": "5 - 8",
"illuminate/support": "5 - 9",
"illuminate/console": "5 - 9",
"aws/aws-sdk-php": "^3.26",
"lstrojny/functional-php": "^1.2"
"lstrojny/functional-php": "^1.17"
},
"autoload": {
"psr-4": {
Expand Down
14 changes: 7 additions & 7 deletions src/ElasticBeanstalkCronProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ public function register()
public function boot()
{
$this->publishes([
__DIR__ . '/.platform' => base_path('/.platform'),
__DIR__ . '/elasticbeanstalkcron.php' => config_path('elasticbeanstalkcron.php')
], 'ebcron');
__DIR__ . '/.platform' => base_path('/.platform'),
__DIR__ . '/elasticbeanstalkcron.php' => config_path('elasticbeanstalkcron.php')
], 'ebcron');
}

protected function registerConsoleCommands()
{
$this->commands([
ConfigureLeaderCommand::class,
SetupLeaderSelectionCRONCommand::class,
SetupSchedulerCommand::class
]);
ConfigureLeaderCommand::class,
SetupLeaderSelectionCRONCommand::class,
SetupSchedulerCommand::class
]);
}
}

0 comments on commit 4c392c2

Please sign in to comment.