Stars: 401
Forks: 66
Pull Requests: 79
Issues: 18
Watchers: 22
Last Updated: 2023-03-03 11:25:55
๐ป It's never been easier to build and customize admin panels. Yah! yaldash is a beautifully designed administration panel for Laravel.
License: MIT License
Languages: PHP, HTML, Vue, CSS, Shell, SCSS
It's never been easier to build and customize admin panels. Yah! yaldash
also called laravelDash
is a beautifully designed administration panel for Laravel.
For installation instructions, in-depth usage and deployment details, please take a look at the official documentation.
yaldash has a few requirements you should be aware of before installing:
yaldash supports reasonably recent versions of the following browsers:
๐จ The official guide assumes intermediate level knowledge of PHP.
we assume that you have been able to set up your development environment. There are two ways to install Laravel project
I will be using via composer to create new project
composer create-project --prefer-dist laravel/laravel blog
Firstly, make sure to create a new database and add your database credentials to your .env file:
APP_URL=http://localhost
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
yaldash is super easy to install. After creating your new Laravel application you can include the yaldash package with the following command:
composer require yal/laraveldash
yaldash will automatically register its service provider if you are using Laravel >=5.5. If you are using yaldash with Laravel 5.3 or 5.4, add yaldashโs service provider in your applicationโs config/app.php file:
/*
* yaldash Service Provider
*/
yal\laraveldash\Providers\DashboardServiceProvider::class,
Next, you need to publish the laravelDash configuration file:
php artisan vendor:publish --provider="yal\laraveldash\Providers\DashboardServiceProvider" --tag="config"
Next, you need to publish the laravelDash assets:
php artisan vendor:publish --provider="yal\laraveldash\Providers\DashboardServiceProvider" --tag="laravelDash-assets"
Generated migrations are regular Laravel migrations, Run the migrations with:
php artisan migrate
Or run the LaravelDash command, that provides you with what you need to start using LaravelDash
php artisan laraveldash:install
Database tables are often related to one another. For example, a blog post may have many comments, or an order could be related to the user who placed it. Eloquent makes managing and working with these relationships easy. So, go to App\User.php and add UserRelation
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use yal\laraveldash\Traits\UserRelation;
class User extends Authenticatable
{
use Notifiable,UserRelation;
}
To see it, you need to start a web server on your development machine. You can do this by running the following command:php artisan serve and then head to http://localhost:8000/laravel-dash
you can customize to the route you want in the config file (config/laraveldash.php)
Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the yaldash
community! ๐ช๐ See CONTRIBUTING.md for more information on what we're looking for and how to get started.
Thanks goes to these wonderful people (emoji key):
If you discover a security vulnerability within LaravelDash, please send an e-mail to Yasser Ameur El Idrissi via [email protected]
. All security vulnerabilities will be promptly addressed.
Please see CHANGELOG for more information what has changed recently.
The yaldash Library is open-source software licensed under the MIT license.