thinkverse/well-known

This package is abandoned and no longer maintained. No replacement package was suggested.

A Laravel package for quickly adding .well-known URLs

1.0.1 2022-05-19 19:44 UTC

This package is auto-updated.

Last update: 2022-09-13 02:24:44 UTC


README

Warning Package is deprecated, it's recommended to add your /.well-known routes in your route files.

A Laravel package for quickly adding .well-known URLs

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

well-known is a Laravel package for quickly adding well-known locations (RFC8615) to a Laravel application, with support for redirects and static URLs.

Installation

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.'),
    ],
];

Usage

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/.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.