Now-ui Dashboard Laravel
Frontend version: Now UI Dashboard v1.4.1. More info at https://www.creative-tim.com/product/now-ui-dashboard/?ref=ndl-readme
Speed up your web development with the Bootstrap 4 Admin Dashboard built for Laravel Framework 9.x and up.
If you want to get more features, go PRO with Now UI Dashboard PRO Laravel.
Prerequisites
If you don't already have an Apache local environment with PHP and MySQL, use one of the following links:
- Windows: https://updivision.com/blog/post/beginner-s-guide-to-setting-up-your-local-development-environment-on-windows
- Linux: https://howtoubuntu.org/how-to-install-lamp-on-ubuntu
- Mac: https://wpshout.com/quick-guides/how-to-install-mamp-on-your-mac/
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
And Laravel: https://laravel.com/docs/9.x/installation
Installation
After initializing a fresh instance of Laravel (and making all the necessary configurations), install the preset using one of the provided methods:
Via composer
Cd
to your Laravel app- Type in your terminal:
composer require laravel/ui
andphp artisan ui vue --auth
- Install this preset via
composer require laravel-frontend-presets/now-ui-dashboard
. No need to register the service provider. Laravel 5.5 & up can auto detect the package. - Run
php artisan ui nowui
command to install the NowUI preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route inroutes/web.php
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php) - In your terminal run
composer dump-autoload
- Run
php artisan migrate --seed
to create basic users table
By using the archive
- In your application's root create a presets folder
- Download an archive of the repo and unzip it
- Copy and paste now-ui-master folder in presets (created in step 2) and rename it to NowUi
- Open
composer.json
file - Add
"LaravelFrontendPresets\\NowUiPreset\\": "presets/NowUi/src"
toautoload/psr-4
and toautoload-dev/psr-4
- Add
LaravelFrontendPresets\NowUiPreset\NowUiPresetServiceProvider::class
toconfig/app.php
file - Type in your terminal:
composer require laravel/ui
andphp artisan ui vue --auth
- In your terminal run
composer dump-autoload
- Run
php artisan ui nowui
command to install the NowUI preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route inroutes/web.php
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php) - Run
php artisan migrate --seed
to create basic users table
Usage
To start testing the theme, register as a user or log in using one of the default users:
- admin type - [email protected] with the password secret
Make sure to run the migrations and seeders for the above credentials to be available.
In addition to the features included in the free preset, the Pro theme also has a role management example with an updated user management, as well as tag management, category management and item management examples. All the necessary files (controllers, requests, views) are installed out of the box and all the needed routes are added to routes/web.php
. Keep in mind that all the features can be viewed once you log in using the credentials provided above or by registering your own user.
Dashboard
You can access the dashboard either by using the "Dashboards/Dashboard" link in the left sidebar or by adding /home in the URL.
Profile edit
You have the option to edit the current logged in user's profile information (name, email, profile picture) and password. To access this page, just click the "Examples/Profile" link in the left sidebar or add /profile in the URL.
The App\Http\Controllers\ProfileController
handles the update of the user information and password.
public function update(ProfileRequest $request)
{
auth()->user()->update(
$request->merge(['picture' => $request->photo ? $request->photo->store('profile', 'public') : null])
->except([$request->hasFile('photo') ? '' : 'picture'])
);
return back()->withStatus(__('Profile successfully updated.'));
}
/**
* Change the password
*
* @param \App\Http\Requests\PasswordRequest $request
* @return \Illuminate\Http\RedirectResponse
*/
public function password(PasswordRequest $request)
{
auth()->user()->update(['password' => Hash::make($request->get('password'))]);
return back()->withStatus(__('Password successfully updated.'));
}
If you input the wrong data when editing the profile, don't worry. Validation rules have been added to prevent this (see App\Http\Requests\ProfileRequest
). If you try to change the password, you will see that additional validation rules have been added in App\Http\Requests\PasswordRequest
. You also have a custom validation rule that can be found in App\Rules\CurrentPasswordCheckRule
.
public function rules()
{
return [
'old_password' => ['required', 'min:6', new CurrentPasswordCheckRule],
'password' => ['required', 'min:6', 'confirmed', 'different:old_password'],
'password_confirmation' => ['required', 'min:6'],
];
}
Table of Contents
- Versions
- Demo
- Documentation
- File Structure
- Browser Support
- Resources
- Reporting Issues
- Licensing
- Useful Links
Versions
HTML | LARAVEL |
---|---|
Demo
Login | Dashboard |
---|---|
Profile Page | Users Page |
---|---|
View More |
Documentation
The documentation for the now-ui Dashboard Laravel is hosted at our website.
File Structure
âââ changelog.md
âââ composer.json
âââ docs
â  âââ documentation.html
âââ .git
â  âââ branches
â  âââ COMMIT_EDITMSG
â  âââ config
â  âââ description
â  âââ HEAD
â  âââ hooks
â  â  âââ applypatch-msg.sample
â  â  âââ commit-msg.sample
â  â  âââ fsmonitor-watchman.sample
â  â  âââ post-update.sample
â  â  âââ pre-applypatch.sample
â  â  âââ pre-commit.sample
â  â  âââ prepare-commit-msg.sample
â  â  âââ pre-push.sample
â  â  âââ pre-rebase.sample
â  â  âââ pre-receive.sample
â  â  âââ update.sample
â  âââ index
â  âââ info
â  â  âââ exclude
â  âââ logs
â  â  âââ HEAD
â  â  âââ refs
â  â  âââ heads
â  â  â  âââ develop
â  â  â  âââ master
â  â  âââ remotes
â  â  âââ origin
â  â  âââ develop
â  âââ objects
â  âââ refs
â  âââ heads
â  â  âââ develop
â  â  âââ master
â  âââ remotes
â  â  âââ origin
â  â  âââ develop
â  âââ tags
âââ license.md
âââ README.md
âââ screens
â  âââ Dashboard.png
â  âââ login.png
â  âââ Profile.png
â  âââ Users.png
âââ src
â  âââ NowUiPreset.php
â  âââ NowUIPresetServiceProvider.php
â  âââ now-ui-stubs
â  âââ app
â  â  âââ Console
â  â  â  âââ comments
â  â  â  â  âââ DeleteOldUsers.php
â  â  â  âââ Kernel.php
â  â  âââ Exceptions
â  â  â  âââ Handler.php
â  â  âââ Http
â  â  â  âââ Controllers
â  â  â  â  âââ Auth
â  â  â  â  â  âââ ForgotPasswordController.php
â  â  â  â  â  âââ LoginController.php
â  â  â  â  â  âââ RegisterController.php
â  â  â  â  â  âââ ResetPasswordController.php
â  â  â  â  â  âââ VerificationController.php
â  â  â  â  âââ Controller.php
â  â  â  â  âââ HomeController.php
â  â  â  â  âââ PageController.php
â  â  â  â  âââ ProfileController.php
â  â  â  â  âââ UserController.php
â  â  â  âââ Kernel.php
â  â  â  âââ Middleware
â  â  â  â  âââ Authenticate.php
â  â  â  â  âââ CheckForMaintenanceMode.php
â  â  â  â  âââ EncryptCookies.php
â  â  â  â  âââ RedirectIfAuthenticated.php
â  â  â  â  âââ TrimStrings.php
â  â  â  â  âââ TrustProxies.php
â  â  â  â  âââ VerifyCsrfToken.php
â  â  â  âââ Requests
â  â  â  âââ CategoryRequest.php
â  â  â  âââ ItemRequest.php
â  â  â  âââ PasswordRequest.php
â  â  â  âââ ProfileRequest.php
â  â  â  âââ TagRequest.php
â  â  â  âââ UserRequest.php
â  â  âââ Observers
â  â  â  âââ UserObserver.php
â  â  âââ Policies
â  â  â  âââ UserPolicy.php
â  â  âââ Providers
â  â  â  âââ AppServiceProvider.php
â  â  â  âââ AuthServiceProvider.php
â  â  â  âââ BroadcastServiceProvider.php
â  â  â  âââ EventServiceProvider.php
â  â  â  âââ RouteServiceProvider.php
â  â  âââ Rules
â  â  â  âââ CurrentPasswordCheckRule.php
â  â  âââ User.php
â  âââ database
â  â  âââ factories
â  â  â  âââ UserFactory.php
â  â  âââ .gitignore
â  â  âââ migrations
â  â  â  âââ 2014_10_12_100000_create_password_resets_table.php
â  â  â  âââ 2019_01_15_110000_create_users_table.php
â  â  âââ seeds
â  â  âââ DatabaseSeeder.php
â  â  âââ UsersTableSeeder.php
â  âââ resources
â  âââ assets
â  â  âââ css
â  â  â  âââ bootstrap.min.css
â  â  â  âââ bootstrap.min.css.map
â  â  â  âââ now-ui-dashboard.css
â  â  â  âââ now-ui-dashboard.css.map
â  â  â  âââ now-ui-dashboard.min.css
â  â  âââ demo
â  â  â  âââ demo.css
â  â  â  âââ demo.js
â  â  âââ fonts
â  â  â  âââ nucleo-license.md
â  â  â  âââ nucleo-outline.eot
â  â  â  âââ nucleo-outline.ttf
â  â  â  âââ nucleo-outline.woff
â  â  â  âââ nucleo-outline.woff2
â  â  âââ img
â  â  â  âââ apple-icon.png
â  â  â  âââ bg14.jpg
â  â  â  âââ bg16.jpg
â  â  â  âââ bg5.jpg
â  â  â  âââ default-avatar.png
â  â  â  âââ favicon.png
â  â  â  âââ header.jpg
â  â  â  âââ mike.jpg
â  â  â  âââ now-logo.png
â  â  â  âââ now-ui-dashboard.gif
â  â  âââ js
â  â  â  âââ core
â  â  â  â  âââ bootstrap.min.js
â  â  â  â  âââ jquery.min.js
â  â  â  â  âââ popper.min.js
â  â  â  âââ now-ui-dashboard.js
â  â  â  âââ now-ui-dashboard.js.map
â  â  â  âââ now-ui-dashboard.min.js
â  â  â  âââ plugins
â  â  â  âââ bootstrap-notify.js
â  â  â  âââ chartjs.min.js
â  â  â  âââ perfect-scrollbar.jquery.min.js
â  â  âââ scss
â  â  âââ now-ui-dashboard
â  â  â  âââ _alerts.scss
â  â  â  âââ _buttons.scss
â  â  â  âââ cards
â  â  â  â  âââ _card-chart.scss
â  â  â  â  âââ _card-map.scss
â  â  â  â  âââ _card-plain.scss
â  â  â  â  âââ _card-user.scss
â  â  â  âââ _cards.scss
â  â  â  âââ _checkboxes-radio.scss
â  â  â  âââ _dropdown.scss
â  â  â  âââ _fixed-plugin.scss
â  â  â  âââ _footers.scss
â  â  â  âââ _images.scss
â  â  â  âââ _inputs.scss
â  â  â  âââ _misc.scss
â  â  â  âââ mixins
â  â  â  â  âââ _buttons.scss
â  â  â  â  âââ _cards.scss
â  â  â  â  âââ _dropdown.scss
â  â  â  â  âââ _inputs.scss
â  â  â  â  âââ _page-header.scss
â  â  â  â  âââ _sidebar.scss
â  â  â  â  âââ _transparency.scss
â  â  â  â  âââ _vendor-prefixes.scss
â  â  â  âââ _mixins.scss
â  â  â  âââ _navbar.scss
â  â  â  âââ _nucleo-outline.scss
â  â  â  âââ _page-header.scss
â  â  â  âââ plugins
â  â  â  â  âââ _plugin-animate-bootstrap-notify.scss
â  â  â  â  âââ _plugin-perfect-scrollbar.scss
â  â  â  âââ _responsive.scss
â  â  â  âââ _sidebar-and-main-panel.scss
â  â  â  âââ _tables.scss
â  â  â  âââ _typography.scss
â  â  â  âââ _variables.scss
â  â  âââ now-ui-dashboard.scss
â  âââ js
â  â  âââ app.js
â  â  âââ bootstrap.js
â  â  âââ components
â  â  âââ ExampleComponent.vue
â  âââ lang
â  â  âââ en
â  â  âââ auth.php
â  â  âââ pagination.php
â  â  âââ passwords.php
â  â  âââ validation.php
â  âââ sass
â  â  âââ app.scss
â  â  âââ _variables.scss
â  âââ views
â  âââ alerts
â  â  âââ errors.blade.php
â  â  âââ error_self_update.blade.php
â  â  âââ feedback.blade.php
â  â  âââ migrations_check.blade.php
â  â  âââ success.blade.php
â  âââ auth
â  â  âââ login.blade.php
â  â  âââ passwords
â  â  â  âââ email.blade.php
â  â  â  âââ reset.blade.php
â  â  âââ register.blade.php
â  â  âââ verify.blade.php
â  âââ home.blade.php
â  âââ layouts
â  â  âââ app.blade.php
â  â  âââ footer.blade.php
â  â  âââ navbars
â  â  â  âââ navs
â  â  â  â  âââ auth.blade.php
â  â  â  â  âââ guest.blade.php
â  â  â  âââ sidebar.blade.php
â  â  âââ page_template
â  â  âââ auth.blade.php
â  â  âââ guest.blade.php
â  âââ pages
â  â  âââ icons.blade.php
â  â  âââ maps.blade.php
â  â  âââ notifications.blade.php
â  â  âââ table.blade.php
â  â  âââ typography.blade.php
â  â  âââ upgrade.blade.php
â  âââ profile
â  â  âââ edit.blade.php
â  âââ users
â  â  âââ index.blade.php
â  âââ welcome.blade.php
âââ .vscode
âââ settings.json
Browser Support
At present, we officially aim to support the last two versions of the following browsers:
Resources
- Demo: https://www.creative-tim.com/live/now-ui-dashboard-laravel/?ref=ndl-readme
- Download Page: https://www.creative-tim.com/product/now-ui-dashboard-laravel?ref=ndl-readme
- Documentation: https://www.creative-tim.com/live/now-ui-dashboard-laravel/?start-page=/docs/getting-started/laravel-setup.html&ref=ndl-readme
- License Agreement: https://www.creative-tim.com/license?ref=ndl-readme
- Support: https://www.creative-tim.com/contact-us?ref=ndl-readme
- Issues: Github Issues Page
- Dashboards:
HTML | LARAVEL |
---|---|
Change log
Please see the changelog for more information on what has changed recently.
Credits
Reporting Issues
We use GitHub Issues as the official bug tracker for the now-ui Dashboard Laravel. Here are some advices for our users that want to report an issue:
- Make sure that you are using the latest version of the now-ui Dashboard Laravel. Check the CHANGELOG from your dashboard on our website.
- Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
- Some issues may be browser specific, so specifying in what browser you encountered the issue might help.
Licensing
- Copyright Creative Tim (https://www.creative-tim.com/?ref=ndl-readme)
- Licensed under MIT (https://github.com/laravel-frontend-presets/now-ui-dashboard/blob/master/license.md)
Useful Links
- Tutorials
- Affiliate Program (earn money)
- Blog Creative Tim
- Free Products from Creative Tim
- Premium Products from Creative Tim
- React Products from Creative Tim
- Angular Products from Creative Tim
- VueJS Products from Creative Tim
- More products from Creative Tim
- Check our Bundles here
Social Media
Creative Tim:
Twitter: https://twitter.com/CreativeTim?ref=ndl-readme
Facebook: https://www.facebook.com/CreativeTim?ref=ndl-readme
Dribbble: https://dribbble.com/creativetim?ref=ndl-readme
Instagram: https://www.instagram.com/CreativeTimOfficial?ref=ndl-readme
Updivision:
Twitter: https://twitter.com/updivision?ref=ndl-readme
Facebook: https://www.facebook.com/updivision?ref=ndl-readme
Linkedin: https://www.linkedin.com/company/updivision?ref=ndl-readme
Updivision Blog: https://updivision.com/blog/?ref=ndl-readme