Warning Package is deprecated, it's recommended to add your
/.well-known
routes in your route files.
well-known
is a Laravel package for quickly adding well-known locations (RFC8615) to a Laravel application, with support for redirects and static URLs.
You can install the package via composer:
composer require thinkverse/well-known
You can publish the config file with:
php artisan vendor:publish --tag="well-known-config"
This is the contents of the published config file:
return [
'redirects' => [
'change-password' => '/settings/security',
],
'static' => [
'security.txt' => fn () => response('Hello world.'),
],
];
To use well-known
, install the package and publish the configuration. Now you can update,
add and or remove redirects and static .well-known URLs with ease.
A registrar for some well-known URIs can be found at iana.org/assignments/well-known-uris/.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.