{"id":19450893,"url":"https://github.com/morning-train/laravel-https","last_synced_at":"2025-02-25T09:22:23.012Z","repository":{"id":57019848,"uuid":"77818875","full_name":"Morning-Train/laravel-https","owner":"Morning-Train","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-08T05:08:32.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-08T08:37:18.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Morning-Train.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-02T07:55:40.000Z","updated_at":"2024-05-27T17:43:48.000Z","dependencies_parsed_at":"2024-11-10T16:40:49.161Z","dependency_job_id":null,"html_url":"https://github.com/Morning-Train/laravel-https","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.2857142857142857,"last_synced_commit":"bc0aa3f56681b48233c54bc925250b26af40e813"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Flaravel-https","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Flaravel-https/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Flaravel-https/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Flaravel-https/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Morning-Train","download_url":"https://codeload.github.com/Morning-Train/laravel-https/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240637767,"owners_count":19833190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T16:39:22.746Z","updated_at":"2025-02-25T09:22:22.982Z","avatar_url":"https://github.com/Morning-Train.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helper for SSL \u0026 HTTPS\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require morningtrain/laravel-https\n```\n\n## Usage\n\nDeploy the config files.\n\n``` bash\n$ php artisan vendor:publish\n```\nUpdate the following in your `.env`:\n```\nUSE_SSL=true\nREDIRECT_TO_HTTPS=true\n```\n\nRegister the ForceSSL middleware as a global middleware in your `App\\Httk\\Kernel` class:\n``` php\nclass Kernel extends HttpKernel\n{\n    /**\n     * The application's middleware stack.\n     *\n     * @var array\n     */\n    protected $middleware = [\n        \\MorningTrain\\Laravel\\Https\\Http\\Middleware\\ForceSSL::class,\n    ];\n}\n```\n\n## Credits\n\n- [Morning Train](https://morningtrain.dk/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorning-train%2Flaravel-https","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorning-train%2Flaravel-https","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorning-train%2Flaravel-https/lists"}