PHP code example of dewsign / nova-events
1. Go to this page and download the library: Download dewsign/nova-events 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/ */
dewsign / nova-events example snippets
// config/nova-events.php
'models' => [
'event' => 'App\Event',
],
'resources' => [
'event' => 'App\Nova\Event',
],
'group' => 'Events',
// database/seeds/DatabaseSeeder.php
public function run()
{
$this->call(Dewsign\NovaEvents\Database\Seeds\EventSeeder::class)
}
bash
php artisan migrate