brefphp / laravel-bridge

Package to use Laravel on AWS Lambda with Bref
https://bref.sh/docs/frameworks/laravel.html
MIT License
319 stars 63 forks source link

Allow running Tinker commands on Lambda #104

Closed mnapoli closed 1 year ago

mnapoli commented 1 year ago

Fixes #77

Example:

sls bref:cli --args="tinker --execute='phpinfo()'"

This isn't an interactive session, but we can use --execute, which is better than nothing.