1. Go to this page and download the library: Download jobmetric/laravel-setting 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/ */
jobmetric / laravel-setting example snippets
public function domiStyles(): array
{
return [['href' => '/build/settings/example.css']];
}
public function domiScripts(): array
{
return [['src' => '/build/settings/example.js', 'type' => 'module', 'defer' => true]];
}