hammerstone/sidecar
Sidecar lets Laravel package, deploy, and invoke AWS Lambda functions directly from your app. Define a simple PHP class plus the files to ship, choose any supported runtime (Node, Python, Java, .NET, Ruby, or OS-only), and execute from PHP.
Sidecar fires a few events related to deployment that you can hook into:
BeforeFunctionsDeployedAfterFunctionsDeployedBeforeFunctionsActivatedAfterFunctionsActivatedEach of these events has a public functions property that holds all the functions that are being deployed or activated.
You can use these events to build packages, install dependencies, or clean up after they are deployed.
How can I help you explore Laravel packages today?