{"id":25812177,"url":"https://github.com/backstagephp/laravel-trailing-slash","last_synced_at":"2026-06-30T20:30:56.859Z","repository":{"id":234689805,"uuid":"789379839","full_name":"backstagephp/laravel-trailing-slash","owner":"backstagephp","description":"Use Laravel explicitly with or without trailing slashes, controlling URL generation and proper redirects for SEO.","archived":false,"fork":false,"pushed_at":"2025-02-26T21:40:35.000Z","size":52,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-23T23:09:56.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backstagephp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"vormkracht10"}},"created_at":"2024-04-20T11:37:07.000Z","updated_at":"2025-02-26T13:50:45.000Z","dependencies_parsed_at":"2025-01-10T22:38:07.481Z","dependency_job_id":"0e354c2e-9fd2-452a-8b83-efe7c6c91af7","html_url":"https://github.com/backstagephp/laravel-trailing-slash","commit_stats":null,"previous_names":["vormkracht10/laravel-trailing-slash"],"tags_count":0,"template":false,"template_full_name":"backstagephp/laravel-package-template","purl":"pkg:github/backstagephp/laravel-trailing-slash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backstagephp%2Flaravel-trailing-slash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backstagephp%2Flaravel-trailing-slash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backstagephp%2Flaravel-trailing-slash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backstagephp%2Flaravel-trailing-slash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backstagephp","download_url":"https://codeload.github.com/backstagephp/laravel-trailing-slash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backstagephp%2Flaravel-trailing-slash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34983169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-02-28T01:51:59.168Z","updated_at":"2026-06-30T20:30:56.841Z","avatar_url":"https://github.com/backstagephp.png","language":"PHP","funding_links":["https://github.com/sponsors/vormkracht10"],"categories":[],"sub_categories":[],"readme":"# Laravel Trailing Slash by Backstage\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/backstage/laravel-trailing-slash.svg?style=flat-square)](https://packagist.org/packages/backstage/laravel-trailing-slash)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/backstagephp/laravel-trailing-slash/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/backstagephp/laravel-trailing-slash/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/backstagephp/laravel-trailing-slash/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/backstagephp/laravel-trailing-slash/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/backstage/laravel-trailing-slash.svg?style=flat-square)](https://packagist.org/packages/backstage/laravel-trailing-slash)\n\nUse Laravel explicitly with or without trailing slashes, controlling URL generation and proper redirects for SEO. Works out of the box on installation, without modifications to your application code.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require backstage/laravel-trailing-slash\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"laravel-trailing-slash-config\"\n```\n\nThis is the contents of the published config file:\n\n```php\nreturn [\n    // Enable or disable trailing slashes\n    'trailing' =\u003e env('TRAILING_SLASHES', true),\n\n    // Enable or disable automatic setup of this package\n    // When enabled, only installing this package is sufficient for everything to work\n    'auto' =\u003e env('TRAILING_SLASHES_AUTO', true),\n\n    // Execute middleware only on these methods\n    'methods' =\u003e [\n        'GET', 'HEAD', 'OPTIONS',\n    ],\n];\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n-   [Mark van Eijk](https://github.com/markvaneijk)\n-   [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackstagephp%2Flaravel-trailing-slash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackstagephp%2Flaravel-trailing-slash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackstagephp%2Flaravel-trailing-slash/lists"}