PHP code example of thinkverse / well-known
1. Go to this page and download the library: Download thinkverse/well-known library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thinkverse / well-known example snippets
return [
'redirects' => [
'change-password' => '/settings/security',
],
'static' => [
'security.txt' => fn () => response('Hello world.'),
],
];
bash
php artisan vendor:publish --tag="well-known-config"