Skip to content

Instantly share code, notes, and snippets.

@singledigit
singledigit / README.md
Last active October 22, 2024 20:23
AWS SAM direct integration of API Gateway REST to Amazon SQS

Instructions

  1. Drop both these files in the same folder.
  2. Deploy using AWS SAM
sam deploy --guided
@deividaspetraitis
deividaspetraitis / lumen-filesystem.md
Created October 19, 2017 09:36
Lumen flysystem ( filesystem ) integration

Lumen flysystem integration

By default lumen doesn't support laravel file system. In order to integrate to lumen we need follow these instructions:

  1. composer require league/flysystem
  2. Copy filesystems config file from Laravel ( https://github.com/laravel/laravel/blob/master/config/filesystems.php ) to your local Lumen installation document_root/config
  3. Bind filesystem to IoC for example in document_root/bootstrap/app.php by adding this code lines:

`` $app->singleton('filesystem', function ($app) {

@flyingluscas
flyingluscas / UsingFakerInPT-BR.md
Last active July 26, 2025 21:14
Utilizando Faker em pt-BR

Utilizando Faker em pt-BR

Acesse o seu arquivo app/Providers/AppServiceProvider.php, e no método register adicione o seguinte :

/**
 * Register any application services.
 *
 * @return void
 */