PHP code example of theriddleofenigma / laravel-rache
1. Go to this page and download the library: Download theriddleofenigma/laravel-rache 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/ */
theriddleofenigma / laravel-rache example snippets
/**
* Get the tag details of this rache tag.
*
* @return array<array-key, mixed>
*/
public function getTagDetails(): array
{
return [
'search' => $this->request->input('search'),
];
}
'tags' => [
'auth' => \Rache\Tags\Auth::class, // registered by default
'page' => \Rache\Tags\Pagination::class, // registered by default
'request' => \Rache\Tags\Request::class, // registered by default
'search' => \App\Rache\Tags\Search::class, // yours
],