Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
* text=auto eol=lf

/.github export-ignore
/examples export-ignore
/tests export-ignore
.codespellrc export-ignore
.editorconfig export-ignore
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4' ]
php: [ '8.2', '8.3', '8.4' ]
dependencies: [ '' ]
include:
- php: '8.1'
- php: '8.2'
dependencies: '--prefer-lowest'
steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"faas"
],
"require": {
"php": "^8.0",
"php": "^8.2",
"aws/aws-sdk-php": "^3.222",
"bref/bref": "^2.1.8",
"bref/bref": "^2.1.8 || ^3",
"bref/laravel-health-check": "^1",
"bref/monolog-bridge": "^1.0",
"illuminate/container": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/http": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/queue": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/container": "^10.0 || ^11.0 || ^12.0",
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0",
"illuminate/http": "^10.0 || ^11.0 || ^12.0",
"illuminate/queue": "^10.0 || ^11.0 || ^12.0",
"illuminate/support": "^10.0 || ^11.0 || ^12.0",
"laravel/octane": "^1.2 || ^2.0",
"laravel/tinker": "^2.0",
"riverline/multipart-parser": "^2.0"
Expand Down
5 changes: 3 additions & 2 deletions config/bref.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
|--------------------------------------------------------------------------
|
| Here you can configure list of public assets that should be servable
| from your application's domain instead of only being servable via
| the public S3 "asset" bucket or the AWS CloudFront CDN network.
| from your application's domain instead of AWS CloudFront.
| Read https://bref.sh/docs/use-cases/websites for a better solution.
|
*/

Expand Down Expand Up @@ -40,4 +40,5 @@
*/

'log_jobs' => true,

];
21 changes: 0 additions & 21 deletions examples/README.md

This file was deleted.

82 changes: 0 additions & 82 deletions examples/getting-started/github-workflows/deploy.yml

This file was deleted.

73 changes: 0 additions & 73 deletions examples/getting-started/github-workflows/maintenance.yml

This file was deleted.

137 changes: 0 additions & 137 deletions examples/getting-started/serverless.yml

This file was deleted.

5 changes: 5 additions & 0 deletions src/BrefServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Bref\LaravelBridge\Console\Commands\BrefTinkerCommand;
use Bref\LaravelBridge\Queue\QueueHandler;

use Bref\Monolog\CloudWatchFormatter;
use Illuminate\Console\Events\ScheduledTaskStarting;

use Illuminate\Log\LogManager;
Expand Down Expand Up @@ -168,6 +169,10 @@ protected function fixDefaultConfiguration()
Config::set('logging.default', 'stderr');
}

if (Config::get('logging.channels.stderr.formatter') === null) {
Config::set('logging.channels.stderr.formatter', CloudWatchFormatter::class);
}

if (Config::get('logging.channels.emergency.path') === storage_path('logs/laravel.log')) {
Config::set('logging.channels.emergency', Config::get('logging.channels.stderr'));
}
Expand Down
Loading