Installation Last updated: 2023-09-21

To install Dash package   

 

Follow these steps 

  1.  Download or install your Laravel project
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
composer create-project laravel/laravel example-app

    2. Extract your dash.zip file in base path in your project example-app    you need to register account and go to orders page to request your version

    3. Add these repositories to your main composer.json in your project 

  

php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
"extra": {
},
"repositories": [
{
"type": "path",
"url": "dash"
}
],
"config": {

 

     4. In composer.json Add Package Name `phpanonymous/dash": "*"` in require section 

php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8"
"phpanonymous/dash": "*"
},

 

   5. Save your composer.json

   6. Add your database information in .env  (database_name,user,password) 

php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
composer update

   7. Run this command  to setup and prepare your dashboard automatically &  add fake admin account and groups and roles

php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php artisan dash:setup

 then add App\Providers\DashServiceProvider::class, to config/app.php in providers 

    

    8. Run your serve php artisan serve 

    9. Go to your dashboard with follow link http://127.0.0.1/dash

   10. Now  you can login with your  fake account email test@test.com , password 123456

php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
email = test@test.com
password = 123456

 

You may need to set  up your storage and driver in your .env file

recommended if you are using local storage change FILESYSTEM_DRIVER=locale to FILESYSTEM_DRIVER=public

and run 

php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php
php artisan storage:link

 

Everything is done, now  you're ready to go .