ranger/notification

There is no license information available for the latest version (dev-main) of this package.

You can create the to-do-list of your task.

dev-main 2022-05-22 06:04 UTC

This package is not auto-updated.

Last update: 2024-05-20 14:23:56 UTC


README

  1. Run composer require ranger/notification

  2. In config/app.php in providers add:
    \Ranger\Notification\NotificationServiceProvider::class

  3. Go to vendor/ranger/notification folder

  4. Keep "src/views/notification" folder in "resources/views"

  5. Add @include('notification.notification') in the file where the bell will be shown

  6. Add routes:
    Route::get('ajax/get-notifications', 'NotifyController@getAllNotifications');
    Route::post('ajax/read-notifications', 'NotifyController@readNotifications');
    Route::post('ajax/read-all-notifications', 'NotifyController@readAllNotifications');
    Route::post('ajax/execute-all-notifications', 'NotifyController@executeAllNotifications');
    Route::get('show-all-notification', 'NotifyController@showAllNotifications');
    Route::post('notify', 'NotifyController@getFromApi');