larasail
server provisioning tool for deploying Laravel applications on Digital Ocean
TLDR
SYNOPSIS
larasail command [arguments]
DESCRIPTION
larasail is a server provisioning tool for deploying Laravel applications on Digital Ocean servers. It automates the installation of PHP, Nginx, MySQL, Composer, and other Laravel dependencies.The tool simplifies the process of setting up a production Laravel environment, handling web server configuration, SSL certificates, and database setup. It is installed on the server itself and creates a larasail user whose password, like the MySQL root password, is randomly generated.
PARAMETERS
setup [phpXY] [mariadb] [redis]
Install Nginx, PHP, MySQL (or MariaDB), Composer and optionally Redisnew project [--jet livewire|inertia] [--teams] [--wave] [--www-alias]
Create a Laravel (or Wave) project in /var/www with Nginx site and Let's Encrypt certificatehost domain directory [--www-alias]
Add an Nginx site for an existing projectdatabase init [--user name] [--db name] [--force]
Create a database and user; updates .env when run inside the project directorydatabase pass
Display the generated database passwordpass
Display the Larasail user passwordmysqlpass
Display the MySQL root password
CAVEATS
Designed specifically for Digital Ocean droplets running Ubuntu. Requires root access on the server. The domain must point to the server before the Let's Encrypt certificate can be issued. The GitHub repository is archived and no longer maintained, so newer Ubuntu or PHP releases may not be supported.
HISTORY
Larasail was created by DevDojo to simplify Laravel deployment, providing a lightweight alternative to more complex server management tools.
