NaivAdmin

Advanced Scaffold for Laravel

Installation

  • Download and Extract the zip file.
  • Copy the folder named with “modules” in laravel root directory.
  • Copy all the files from migrations folder(inside download file) to your applications migrationfolder(located in database/migrations)
  • Copy all the files from seeds folder(inside download file) to your applications seedsfolder(located in database/seeds)
  • Open composer.json file using a text editor. Inside “psr-4” key add put this line”Naiv\\”: “modules/naiv/src/”
  • Run composer and type: “composer dump” or “composer dumpautoload”
  • Run composer and type: “php artisan migrate:install” and then “php artisan migrate:refresh”
  • Run composer and type: “php artisan db:seed”
  • Go to config folder and open app.php file, put this line just after application service providers classes “Naiv\Admin\AdminServiceProvider::class”
  • Finally, publish all assets and views files. To do this run composer and type“php artisan vendor:publish”