utichawa / events
Module events for CMS medianet
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: ^7.1
- iatstuti/laravel-cascade-soft-deletes: ^1.5
- illuminate/support: 5.8.*
- spatie/laravel-activitylog: 3.6.1
- spatie/laravel-medialibrary: ^7.0.0
- utichawa/translatable: ^1.0
Requires (Dev)
- orchestra/testbench: 3.8.*
- phpunit/phpunit: ^7.0
README
Module events that can be added to any project that has CMS MEDIANET LARAVEL
Installation
You can install the package via composer:
composer require utichawa/events
Publish files
Publishing all files
php artisan vendor:publish --provider="Utichawa\Events\EventsServiceProvider"
Or you can also add tags to publish certain files
Views : --tag="views" Config : --tag="config" Migrations : --tag="migrations" Fake Data : --tag="fake_data" Requests : --tag="requests" Controllers : --tag="controllers" Models : --tag="models" Routes : --tag="routes"
Notice : Run this before you continue
composer dump
Run migrations
php artisan migrate
Add Module :
php artisan db:seed --class=ModuleEventTableSeeder
Add Routes
Add this line to the config file 'packages.php'
'events' => config('cms-events.route_namespace_controllers')
Adding fake data (Menu to Main menu + Dummy events and categories)
php artisan db:seed --class=EventsTableSeeder
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.