This package adds functionality to be able to run Statamic on Laravel Vapor using a container image.
composer require tomhatzer/statamic-vapor-compatibility
php artisan vendor:publish --provider="StatamicVaporCompatibility\StatamicVaporCompatibilityServiceProvider" --tag="statamic-vapor-compatibility-config"
This is necessary to be able to pull and push from your private repository.
Please be sure to use a private repository as all your files including user files will be stored in this repository.
STATAMIC_FILES_REPOSITORY=https://<personal-access-token-you-created-earlier>@github.com/<your-username-or-organization>/<name-of-private-repository-you-created-earlier>.git
STATAMIC_FILES_REPOSITORY_NAME=<name-of-the-folder-where-you-want-to-store-your-files>
STATAMIC_GIT_NAME=<your-git-user-name>
STATAMIC_GIT_EMAIL=<your-git-user-email>
php artisan statamic-vapor:check-dockerfile
Please check your Dockerfile manually afterwards to see if there are any incompatible changes.
You can add Events and Listeners to your addon and ask your users to add them to our config file manually.
Please refer to the Events section in the Statamic docs, the Listeners folder and the events config item of this package to see how it's done.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.