| Package Data | |
|---|---|
| Maintainer Username: | ryoluo |
| Maintainer Contact: | ryoluo@lotus-base.com (Ryo Kobayashi) |
| Package Create Date: | 2022-06-03 |
| Package Last Update: | 2025-02-27 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-01 03:00:02 |
| Package Statistics | |
|---|---|
| Total Downloads: | 529,366 |
| Monthly Downloads: | 30,291 |
| Daily Downloads: | 931 |
| Total Stars: | 187 |
| Total Watchers: | 2 |
| Total Forks: | 24 |
| Total Open Issues: | 3 |
Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.
You need to setup Laravel Sail environment before using the plugin.
composer require ryoluo/sail-ssl --dev
php artisan sail-ssl:install
./vendor/bin/sail up
./vendor/bin/sail up -d
./vendor/bin/sail composer require ryoluo/sail-ssl --dev
./vendor/bin/sail artisan sail-ssl:install
./vendor/bin/sail down
./vendor/bin/sail up
After containers started, you can access https://localhost.
SERVER_NAME
server_name directive in nginx.conflocalhost
APP_SERVICE
laravel.test
HTTP_PORT
SSL_PORT
8000
SSL_PORT
443
SSL_DOMAIN
SSL_DOMAIN=*.mydomain.test
localhost
localhost
SSL_ALT_NAME
SSL_ALT_NAME=DNS:localhost,DNS:mydomain.test
localhost
DNS:localhost
./nginx/templates/default.conf.template will be published.
php artisan sail-ssl:publish
Feel free to create a PR!