laravel-frontend-presets/now-ui-dashboard
Composer 安装命令:
composer require laravel-frontend-presets/now-ui-dashboard
包简介
Laravel 11.x Front-end preset for now ui dashboard
README 文档
README
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 11.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 & Mac: https://updivision.com/blog/post/guide-what-is-lamp-and-how-to-install-it-on-ubuntu-and-macos
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
And Laravel: https://laravel.com/docs/11.x
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
Cdto your Laravel app- Type in your terminal:
composer require laravel/uiandphp 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 nowuicommand 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 --seedto 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.jsonfile - Add
"LaravelFrontendPresets\\NowUiPreset\\": "presets/NowUi/src"toautoload/psr-4and toautoload-dev/psr-4 - Add
LaravelFrontendPresets\NowUiPreset\NowUiPresetServiceProvider::classtoconfig/app.phpfile - Type in your terminal:
composer require laravel/uiandphp artisan ui vue --auth - In your terminal run
composer dump-autoload - Run
php artisan ui nowuicommand 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 --seedto 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 - admin@nowui.com 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
Credits
laravel-frontend-presets/now-ui-dashboard 适用场景与选型建议
laravel-frontend-presets/now-ui-dashboard 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 18.49k 次下载、GitHub Stars 达 223, 最近一次更新时间为 2019 年 08 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「preset」 「Now UI」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laravel-frontend-presets/now-ui-dashboard 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravel-frontend-presets/now-ui-dashboard 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laravel-frontend-presets/now-ui-dashboard 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Bulma Frontend Preset For Laravel Framework 6.0 and Up
Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS 3.x
PHP client for serverless juicy functions
Provides access to current date and time that can be mocked for testing purposes
DCODE FrontEnd preset for Laravel.
Sylius plugin that adds the possibility to add products to the shopping cart using a button on the product card.
统计信息
- 总下载量: 18.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 223
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-30










