ryoluo/sail-ssl
ryoluo/sail-ssl adds HTTPS to Laravel Sail with minimal setup: generate locally trusted SSL certificates and serve your app over https://localhost. Useful for testing secure cookies, service workers, OAuth callbacks, and other HTTPS-only features during local Laravel development.
http://localhost to trusted https://*.localhost, which is what unblocks testing of secure-only cookies, SameSite/Secure flags, service workers, WebAuthn/passkeys, OAuth callback URLs that providers require to be HTTPS, mixed-content behavior, and HSTS assumptions. That directly reduces the class of "works locally, breaks in staging" bugs that cost sprint time late in a release.mkcert + openssl + docker-compose overrides — a recurring, undocumented tax that breaks whenever Sail bumps its compose template. This release specifically addresses that churn (Sail v1.46.0 compatibility, YAML-aware compose editing).Adopt when all of the following hold:
compose.yaml and generating certs for the Sail container — it is tightly coupled to that workflow.Look elsewhere when:
mkcert + hand-written compose override) documented in the runbook is prudent.Release-specific notes for v1.5.0:
symfony/yaml) and replaces regex/stub rewriting with structured YAML manipulation. Behavior should be more reliable, but it may reformat or reorder a hand-edited compose.yaml — verify on a branch before rolling out team-wide, and review any comments in existing compose files.SSL_ALT_NAME fix removes a setup failure that would otherwise surface as a confusing onboarding blocker — a meaningful DX win for new-environment bootstrapping.For executives (one paragraph): This is a small, free, open-source developer-tooling package that gives every engineer a trusted https:// address on their local Laravel environment in one step. It doesn't ship to production and costs nothing, but it removes a recurring source of late-stage defects — login flows, cookies, and browser APIs that behave differently over HTTP than HTTPS — and eliminates the ad-hoc certificate scripts engineers currently maintain by hand. Recommendation: approve it as a team standard, pinned to a version, with a named owner, and revisit only if we move off Sail or need HTTPS in CI.
For engineering leads: Approve a time-boxed trial on one service. v1.5.0 is a maintenance-and-reliability release — structured YAML handling instead of regex, fixed cert generation when no SAN is supplied, and a two-tier CA so browsers stop showing warnings. The practical wins are faster onboarding (no more "why is my cert broken" threads) and a trustworthy local environment for OAuth, secure cookies, and service workers. Two things to plan for: developers will need to trust a local CA on their machines, which may need an IT exception for managed laptops, and the new symfony/yaml dependency means existing compose.yaml files should be diffed on a branch before a team-wide rollout. Risk is low and fully reversible: it's a dev-only dependency, we pin it, and we document the manual fallback.
How can I help you explore Laravel packages today?