PHPackages                             lucenarenato/sail-ssl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. lucenarenato/sail-ssl

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

lucenarenato/sail-ssl
=====================

Laravel 5,6,7 e php7.2 - Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

1.2.0(3y ago)1145MITPHPPHP ^7.2|^7.3|^8.0

Since Jan 3Pushed 3y agoCompare

[ Source](https://github.com/lucenarenato/sail-ssl)[ Packagist](https://packagist.org/packages/lucenarenato/sail-ssl)[ RSS](/packages/lucenarenato-sail-ssl/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

🚢 Sail-SSL | Laravel 7 e php7.2
===============================

[](#-sail-ssl--laravel-7-e-php72)

[![Version](https://camo.githubusercontent.com/96c037b0f9dc08e17f3c2b27f6a76b24dc983c849efeaaf993c95ea4181cbd21/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c7563656e6172656e61746f2f7361696c2d73736c)](https://camo.githubusercontent.com/96c037b0f9dc08e17f3c2b27f6a76b24dc983c849efeaaf993c95ea4181cbd21/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c7563656e6172656e61746f2f7361696c2d73736c)[![Downloads](https://camo.githubusercontent.com/fb68ff3a8ed9b50d22c09b026cb93a9874b3b7d0c1706470eeed6d9140f3bb31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c7563656e6172656e61746f2f7361696c2d73736c)](https://camo.githubusercontent.com/fb68ff3a8ed9b50d22c09b026cb93a9874b3b7d0c1706470eeed6d9140f3bb31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c7563656e6172656e61746f2f7361696c2d73736c)[![License](https://camo.githubusercontent.com/6595f8ce14f72de0ce0e493be57aadadcbbd699ba9404f711b02516cba49059e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c7563656e6172656e61746f2f7361696c2d73736c)](https://camo.githubusercontent.com/6595f8ce14f72de0ce0e493be57aadadcbbd699ba9404f711b02516cba49059e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c7563656e6172656e61746f2f7361696c2d73736c)[![Test](https://camo.githubusercontent.com/dcde0d5232832a04fd7c1790998c082fb79f60d7db2e63f1f07452195ffb7e31/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c7563656e6172656e61746f2f7361696c2d73736c2f6c61726176656c2e796d6c3f6272616e63683d6d61696e266c6162656c3d74657374)](https://camo.githubusercontent.com/dcde0d5232832a04fd7c1790998c082fb79f60d7db2e63f1f07452195ffb7e31/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c7563656e6172656e61746f2f7361696c2d73736c2f6c61726176656c2e796d6c3f6272616e63683d6d61696e266c6162656c3d74657374)

Laravel 7 e php7.2 - Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

Install
-------

[](#install)

You need to setup [Laravel Sail](https://github.com/laravel/sail) environment before using the plugin.

### With local PHP / Composer:

[](#with-local-php--composer)

```
composer require lucenarenato/sail-ssl --dev
php artisan sail-ssl:install
./vendor/bin/sail up
```

### With Sail container:

[](#with-sail-container)

```
./vendor/bin/sail up -d
./vendor/bin/sail composer require lucenarenato/sail-ssl --dev
./vendor/bin/sail artisan sail-ssl:install
./vendor/bin/sail down
./vendor/bin/sail up
```

After containers started, you can access .

Environment variables
---------------------

[](#environment-variables)

- `SERVER_NAME`
    - Determine `server_name` directive in nginx.conf
    - Default: `localhost`
- `APP_SERVICE`
    - Specify Laravel container name in docker-compose.yml
    - Default: `laravel.test`
- `HTTP_PORT`
    - Port to forward Nginx HTTP port
    - By default, request for this port would redirect to `SSL_PORT`
    - Default: `8000`
- `SSL_PORT`
    - Port to forward Nginx HTTPS port
    - Default: `443`

Configure Nginx
---------------

[](#configure-nginx)

`./nginx/templates/default.conf.template` will be published.

```
php artisan sail-ssl:publish
```

Contribution
------------

[](#contribution)

Feel free to create a PR!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

1223d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9ae18e78564b45545d715d74d45529efc3656f2e2f4c989df6697c7b5435bc3?d=identicon)[lucenarenato](/maintainers/lucenarenato)

---

Top Contributors

[![ryoluo](https://avatars.githubusercontent.com/u/40686845?v=4)](https://github.com/ryoluo "ryoluo (24 commits)")[![lucenarenato](https://avatars.githubusercontent.com/u/38870097?v=4)](https://github.com/lucenarenato "lucenarenato (8 commits)")[![kasparasg](https://avatars.githubusercontent.com/u/1433383?v=4)](https://github.com/kasparasg "kasparasg (1 commits)")

---

Tags

laravelssldockernginxsail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lucenarenato-sail-ssl/health.svg)

```
[![Health](https://phpackages.com/badges/lucenarenato-sail-ssl/health.svg)](https://phpackages.com/packages/lucenarenato-sail-ssl)
```

###  Alternatives

[ryoluo/sail-ssl

Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

188672.6k2](/packages/ryoluo-sail-ssl)[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[yoelpc4/laravel-sail-preset

Laravel Sail runtimes &amp; docker-compose.yml preset.

1429.2k](/packages/yoelpc4-laravel-sail-preset)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
