Darperso CMS

dev-main 2025-02-19 20:22 UTC

This package is auto-updated.

Last update: 2025-05-19 20:47:37 UTC


README

  • Create the database and update your .env file
  • Add the below to config/auth.php:
                'guards' => [
                    'admin' => [
                        'driver' => 'session',
                        'provider' => 'admins',
                    ],
                ],
                'providers' => [
                    'admins' => [
                        'driver' => 'eloquent',
                        'model' => Darpersodigital\Cms\Models\Admin::class,
                    ],
                ],
    		
  • Change in filesystem disks
              'local' => [
                'driver' => 'local',
                'root' => storage_path('app/public'),
                'url' => env('APP_URL').'/storage',
                'visibility' => 'public',
                'throw' => false,
            ],
    		
  • Run:
    composer require darpersodigital/cms