phuntime / phuntime
Run PHP Apps on FaaS platforms
v0.1.0
2021-08-30 18:57 UTC
Requires
- ext-json: *
- nyholm/psr7: >=1.4
- psr/log: ^1.1
- symfony/http-client: ^5.1
- symfony/http-client-contracts: ^2.1
- symfony/polyfill-php80: ^1.18
Requires (Dev)
- ext-pdo: *
- phpunit/phpunit: ^9.2
- swoole/ide-helper: @dev
- symfony/http-foundation: ^5.3
- vimeo/psalm: ^4.9
This package is not auto-updated.
Last update: 2024-03-28 06:51:15 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