phuntime/phuntime

Run PHP Apps on FaaS platforms

v0.1.0 2021-08-30 18:57 UTC

This package is not auto-updated.

Last update: 2022-08-03 22:56:29 UTC


README

Deploy your apps to FaaS platforms quickly.

Building runtimes:

AWS Lambda PHP8.0 FPM:

make aws-80-fpm

Development related things

All commands must be run from project root.

make & docker & linux/osx/anything that can handle all makefile instructions required for builds & development.

Run Unit Tests

vendor/bin/phpunit

Run Psalm static analysis

vendor/bin/psalm

3rd party tools used during development

  • Docker - Handles PHP building and running AWS SAM
  • AWS SAM - Provides local environment for local development and debugging

For PhpStorm users:

To prevent code completion issues, exclude given directories (paths relative to repository root):

  • .aws-sam
  • build