PHP code example of rhyslees / nova-about
1. Go to this page and download the library: Download rhyslees/nova-about 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/ */
rhyslees / nova-about example snippets
//YourPackageServiceProvider.php
/**
* Register any application services.
*
* @return void
*/
public function register(): void
{
\RhysLees\NovaAbout\NovaAbout::addPackage('your-name/your-package');
}
bash
php artisan about
php artisan about --only=nova,nova_packages
php artisan about --only=nova
php artisan about --only=nova_packages