This is a microservice prototype based on a clients requirements. Its characteristics are:
- Generate custom pdfs forms with fillable fields
- Works on aws lambda functions
- Implements github actions CI pipeline
As aws lambda functions do not suport PHP natively, it uses a very neat setup with 'Bref', which uses aws cloudformation to create the environment. For more informations on 'Bref' check:
For composer dependencies run:
composer install
Install AWS CLI, and setup your aws keys:
npm install -g serverless@3
serverless config credentials --provider aws --key "key" --secret "secret"
Clean local cache:
php artisan config:clear
Run deploy:
serverless deploy