utichawa/events

Module events for CMS medianet

1.3.0 2019-10-31 11:54 UTC

This package is auto-updated.

Last update: 2024-10-29 05:41:07 UTC


README

Latest Version on Packagist Total Downloads

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.