Forge provides first-class support for applications running Laravel, allowing you to quickly toggle and configure:
To accomplish this, Forge parses the composer.json
and composer.lock
files from your application and inspects for the presence and version of the packages above.
You may quickly enable or disable the Laravel scheduler via the "Laravel Scheduler" toggle. Forge will create the required Scheduler for you.
Scheduler Configuration
Forge will automatically configure the scheduler to run every minute using the site's configured PHP version.
You may quickly enable or disable the Laravel Horizon daemon via the "Laravel Horizon" toggle. Forge will create the required Horizon daemon for you.
If the site's deploy script does not contain the horizon:terminate
command, Forge will automatically append it for you.
If your server is already configured with a daemon that runs Laravel Horizon, Forge will offer to convert the daemon for you. This process links the site's ID and the daemon's ID together, allowing Forge to manage the daemon for you.
You may quickly enable or disable the Laravel Octane daemon via the "Laravel Octane" toggle. Forge will create the required Octane daemon for you.
When enabling the Octane daemon, Forge will ask you to provide a few more details. If you previously created your site without selecting the "Laravel Octane" project type, Forge will also offer to convert the site's Nginx configuration to use Laravel Octane.
If the site's deploy script does not contain the octane:reload
command, Forge will automatically append it for you.
If your server is already configured with a daemon that runs Laravel Octane, Forge will offer to convert the daemon for you. This process links the site's ID and the daemon's ID together, allowing Forge to manage the daemon for you.
You may quickly enable or disable the Inertia SSR daemon via the "Inertia SSR" toggle. Forge will create the required Inertia SSR daemon for you.
When enabling the Inertia daemon, Forge will ask you to provide a few more details. You may also choose whether Forge should update your deploy script to append the Inertia SSR stop command.
If your server is already configured with a daemon that runs Inertia SSR, Forge will offer to convert the daemon for you. This process links the site's ID and the daemon's ID together, allowing Forge to manage the daemon for you.
You may grant a circle member authority to run arbitrary commands in a site's directory by granting the server:create-schedulers
and server:create-daemons
permissions.