customergauge / bref
AWS Lambda with Bref Adapter for Laravel
Installs: 33 266
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 0
Open Issues: 0
Requires
- php: >=7.3
- ext-json: *
- bref/bref: ^0.5.29 || ^1.0 || ^2.0
- illuminate/contracts: >=5.8
- illuminate/queue: >=5.8
Requires (Dev)
- phpunit/phpunit: ^9.0
README
Laravel Bref Adapter 🔌
This library provides a Bref Adapter for Laravel
Installation
composer require customergauge/bref
Configuration
We need to add \CustomerGauge\Bref\Helpers\StorageDirectories::create($app);
to the bootstrap/app.php
file.
This will ensure that the storage directories are created before the application is booted.
The following environment variables will configure Laravel to use the appropriate folders:
APP_SERVICES_CACHE: /tmp/laravel-bref-adapter/storage/cache/services.php APP_PACKAGES_CACHE: /tmp/laravel-bref-adapter/storage/cache/packages.php APP_ROUTES_CACHE: /tmp/laravel-bref-adapter/storage/cache/routes.php VIEW_COMPILED_PATH: /tmp/laravel-bref-adapter/storage/framework/views