otifsolutions/laravel-forcessl

此包将使路由或URL能够与SSL一起工作

1.0.0 2020-10-06 09:48 UTC

This package is auto-updated.

Last update: 2024-09-06 19:03:58 UTC


README

需求

PHP 7 > PHP 7.1

如何使用此库

通过composer安装

使用composer(推荐)

在项目的根目录中运行以下命令

composer require otifsolutions/laravel-forcessl

再走一步

在您的.env文件中添加此行以启用强制SSL

FORCE_SSL = true

详细信息

此包用于使项目能够支持SSL。