dewsign / nova-events
An Events CMS for Laravel Nova
Installs: 130
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 1
Type:package
Requires
- php: >=7.0.0
- benjaminhirsch/nova-slug-field: ^1.2
- dewsign/nova-field-sortable: ^0.2
- doctrine/dbal: ^2.9
- gkermer/nova-text-auto-complete: ^0.0.2
- laravel/framework: >=5.0.0
- maxfactor/support: ^2.6.10
- reinink/advanced-eloquent: ^0.2.0
Requires (Dev)
- squizlabs/php_codesniffer: >=3.1
- dev-master
- v1.0.2
- v1.0.1
- v1.0.0
- v0.14.0
- v0.13.12
- v0.13.11
- v0.13.10
- v0.13.9
- v0.13.8
- v0.13.7
- v0.13.6
- v0.13.5
- v0.13.4
- v0.13.3
- v0.13.2
- v0.13.1
- v0.13.0
- v0.12.6
- v0.12.5
- v0.12.4
- v0.12.3
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.1
- v0.10.0
- v0.9.0
- v0.8.5
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- dev-fix-no-dev
This package is auto-updated.
Last update: 2024-10-27 01:50:51 UTC
README
An Events CMS for Laravel Nova.
Installation
composer require dewsign/nova-events
Run the migrations:
php artisan migrate
Templates
This package doesn't come with any pre-made templates. Simply replace the published resources/view/vendor/nova-events/show.blade.php
view, or create new templates inside the resources/view/vendor/nova-events/templates
folder. When more than one template exists, a select option will be displayed on within nova where you can select the template for the event.
Configuration
Customisation
If you want more control, you can specify which Nova Resources and Models to use. Because of the way nova reads the model from a static veriable, you must provide your own custom resource if you choose to use a custom model.
// config/nova-events.php 'models' => [ 'event' => 'App\Event', ], 'resources' => [ 'event' => 'App\Nova\Event', ],
Nova Resource Group
This will change the group name in the Nova admin sidebar.
'group' => 'Events',
Routing
All event routing is included under the /events
slug.
Factories & Seeders
This package comes with pre-made factories and seeders. Should you wish to use them in your application, simply call the seeder or use the factory provided.
// database/seeds/DatabaseSeeder.php public function run() { $this->call(Dewsign\NovaEvents\Database\Seeds\EventSeeder::class) }