customergauge / bref
AWS Lambda 与 Bref Adapter 集成于 Laravel
2.0.0
2023-09-22 13:04 UTC
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 🔌
此库为 Laravel 提供了一个 Bref Adapter
安装
composer require customergauge/bref
配置
我们需要将 \CustomerGauge\Bref\Helpers\StorageDirectories::create($app);
添加到 bootstrap/app.php
文件中。这将确保在应用程序启动之前创建存储目录。
以下环境变量将配置 Laravel 使用适当的文件夹
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