PHP code example of stechstudio / laravel-bref-bridge
1. Go to this page and download the library: Download stechstudio/laravel-bref-bridge library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stechstudio / laravel-bref-bridge example snippets
ini
BREF_NAME="<my-lambdas-name>"
BREF_S3_BUCKET="<bucket-name>"
sh
$ artisan vendor:publish --tag=bref-sam-template --tag=bref-configuration
$ artisan bref:config-sam
$ artisan vendor:publish --tag=bref-routes
$ mv routes/lambda.example.php routes/lambda.php
$ artisan bref:package
$ artisan bref:deploy
ini
BREF_NAME="<my-lambdas-name>"
BREF_S3_BUCKET="<bucket-name>"
ini
extension=pdo_mysql