Build Laravel Web Applications  faster than ever

Build Laravel Web Applications faster than everYasser AmeurBlockedUnblockFollowFollowingApr 14Laravel is an incredible framework built by Taylor Otwell that combines powerful web development features, extensive documentation and an active community .

In this tutorial we are going to build a fullstack application complete with an admin panel using laravelDash.

What is Laravel Dashboard ?Developers are lazy.

No, I’m not kidding — they work hard to create systems that help them avoid more work in the future.

Especially, repetitive work.

And there are quite extreme examples now — we don’t need to write code anymore; it is being generated for us.

Laravel Dashboard or LaravelDash provides a powerful user interfaces for CRUD (create, read, update, delete) operations for Laravel applications.

It offers additonal features including Charts , Panel Management , Settings , Payment System and Super Simple WYSIWYG …Minute 1: Create the Laravel applicationwe assume that you have been able to set up your development environment.

There are two ways to install Laravel projectVia Laravel InstallerVia Composer Create-ProjectI will be using via composer to create new projectcomposer create-project –prefer-dist laravel/laravel blogMinute 2: ConfigurationFirstly, make sure to create a new database and add your database credentials to your .

env file :APP_URL=http://localhostDB_HOST=localhostDB_DATABASE=homesteadDB_USERNAME=homesteadDB_PASSWORD=secretMinute 3: Install and Configure laravelDashLaravelDash is super easy to install.

After creating your new Laravel application you can include the laravelDash package with the following command:composer require yal/laraveldashLaravelDash will automatically register its service provider if you are using Laravel >=5.


If you are using LaravelDash with Laravel 5.

3 or 5.

4, add LaravelDash’s service provider in your application’s config/app.

php file:/* * Laravel dashboard Service Provider */ YasserLaravelDashboardDashboardServiceProvider::class,Next, you need to publish the laravelDash configuration file:php artisan vendor:publish –provider="YasserLaravelDashboardDashboardServiceProvider" –tag="config"Minute 4: Running Migrations and Defining RelationshipsGenerated migrations are regular Laravel migrations , Run the migrations with:php artisan migrateDatabase 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 AppUser.

php and add UserRelation<?phpnamespace App;use IlluminateNotificationsNotifiable;use IlluminateFoundationAuthUser as Authenticatable;use YasserLaravelDashboardTraitsUserRelation;class User extends Authenticatable{ use Notifiable,UserRelation;}Minute 5:Yah!.You’re on LaravelDash !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/DashboardThanks for reading!.you can support the laravelDash project directly by r giving it a star on github.

. More details

Leave a Reply