simbamahaba / upepo
Admin pack for laravel
v1.0.1
2022-05-27 07:00 UTC
Requires
- php: ^7.3|^8.0
- barryvdh/laravel-dompdf: ^0.9.0
- bumbummen99/shoppingcart: ^4.0
- intervention/imagecache: ^2.5
- laravel/socialite: ^5.2
- spatie/laravel-responsecache: ^6.6
- unisharp/laravel-filemanager: ^2.2
- watson/sitemap: ^4.0
This package is auto-updated.
Last update: 2026-03-01 00:36:39 UTC
README
Admin Panel for Laravel 8.*
Installation
composer require simbamahaba/upepo
-
Publish vendors files php artisan vendor:publish
-
Before installing the migrations, delete the shopping cart migration already published, since Upepo has its own migration for it.
-
Run the php artisan migrate.
-
To the App\Http\Kernel.php, add the following to the application's route middleware:
'not.for.admin' => \App\Http\Middleware\RedirectIfAdmin::class,
'admin.only' => \App\Http\Middleware\RedirectIfNotAdmin::class,
'customer' => \App\Http\Middleware\RedirectIfCustomer::class,
'customer.email.verified' => \App\Http\Middleware\EnsureCustomerEmailIsVerified::class,
'loggedcustomer' => \App\Http\Middleware\RedirectIfNotCustomer::class,
'verifiedcustomer' => \App\Http\Middleware\NotVerifiedCustomer::class,