skywalker-labs/ui
Composer 安装命令:
composer require skywalker-labs/ui
包简介
Frontend presets and powerful UI utilities for Laravel applications by Skywalker Labs.
关键字:
README 文档
README
A powerful, incredibly simple, and lightning-fast frontend scaffolding package for Laravel applications by Skywalker Labs.
Whether you are a Junior Developer starting your first project or a Senior Engineer looking for a rapid and proven frontend foundation, Skywalker UI gives you everything you need. It provides a robust starting point using Bootstrap 5, React, or Vue.
With a single command, you can scaffold complete authentication flows, responsive views, and a modern Vite build pipeline! 🚀
🌟 Key Features
- Instant Authentication System: Generates Login, Registration, Password Reset, and Verification flows in seconds.
- Frontend Presets: Choose seamlessly between Bootstrap, Vue.js, or React.js.
- Vite Integration: Out-of-the-box hot-module replacement (HMR) and insanely fast asset compilation.
- Clean Architecture: Generates fully customizable Blade templates (
resources/views/auth). - Beginner Friendly: No complex logic hidden from you. All controllers and views are published to your app so you can learn and customize freely!
⚡ Installation Guide
You can install the package effortlessly using Composer. Open your terminal at the root of your Laravel project:
composer require skywalker-labs/ui
Note: This package is fully compatible with Laravel 9.x, 10.x, 11.x, and 12.x out-of-the-box.
🛠️ Usage & Scaffolding
Once installed, you can use the newly available ui Artisan command to install the frontend scaffolding of your choice.
1. Basic Frontend Scaffolding
If you only want to set up the CSS/JS framework (without authentication views), run one of the following commands:
# For a clean Bootstrap 5 setup php artisan ui bootstrap # For a modern Vue.js setup php artisan ui vue # For a robust React.js setup php artisan ui react
2. Full Authentication Scaffolding (Recommended) 🔐
Most projects require a secure login system. You can generate fully functioning login, registration, and dashboard interfaces by appending the --auth flag.
Run one of the following commands:
php artisan ui bootstrap --auth php artisan ui vue --auth php artisan ui react --auth
What does the --auth flag do?
- It publishes
HomeController.phpto handle your dashboard routes. - It injects
Auth::routes();into yourroutes/web.phpfile automatically. - It creates a beautiful
layouts/app.blade.phpmaster template. - It scaffolds all the necessary forms in
resources/views/auth/.
3. Compile Your Assets
After choosing your preset, you must install the NPM packages and compile your fresh assets using Vite:
npm install npm run dev
For production deployment, you would run npm run build instead.
📝 Customizing Your Setup
Skywalker UI is designed to give you 100% control over your application.
Understanding the Routes
When you run the --auth command, this line is added to routes/web.php:
Auth::routes();
This single line registers all the standard authentication endpoints (/login, /register, /password/reset, etc.).
Modifying the Views
All the generated views are placed directly in your resources/views/ directory. You can easily modify the HTML or Blade structure by editing these files:
resources/views/layouts/app.blade.php(The main wrapper/navbar)resources/views/auth/login.blade.phpresources/views/auth/register.blade.php
Writing CSS/SASS
We natively support Vite, the high-performance build tool utilized across modern Laravel systems. Configuration defaults compile your starting resources/sass/app.scss file seamlessly. The generated output is neatly bundled and instantly accessible via your browser upon hitting npm run dev.
Writing JavaScript
Whether you drop in raw ES6 logic, single-file Vue components (ExampleComponent.vue), or React files, Vite takes your resources/js/app.js file, integrates Bootstrap / Vue framework dependencies natively, and outputs rapid, hot-reloading code immediately.
🎨 Extending Presets (Advanced)
As a package developer or heavily customized team, you can easily write your own custom presets using Laravel's powerful macroable system directly from your Service Providers!
Add this to the boot method of your AppServiceProvider:
use Skywalker\Ui\Console\Commands\UiCommand; UiCommand::macro('nextjs', function (UiCommand $command) { // Write logic to scaffold your custom frontend... $command->info('Next.js scaffolding installed successfully.'); });
Execute your custom macro seamlessly from the terminal:
php artisan ui nextjs
🧪 Testing
We ensure Skywalker UI remains stable via extensive testing. Run the test suite leveraging Composer:
composer test
or directly via PHPUnit:
vendor/bin/phpunit
📈 Changelog
Please see CHANGELOG for more information on what has changed recently in the 1.x branch.
🤝 Contributing
We love the community! Please see CONTRIBUTING for details on how to write code, submit Pull Requests, and help improve the Skywalker UI ecosystem.
🛡️ Security Vulnerabilities
If you discover any security-related issues, please email ermradulsharma0@gmail.com directly instead of using the public issue tracker. Our Security Policy provides detailed information on disclosure.
🎖️ Credits
📄 License
The MIT License (MIT). Please see License File for more information.
skywalker-labs/ui 适用场景与选型建议
skywalker-labs/ui 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 4, 最近一次更新时间为 2026 年 03 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「ui」 「laravel」 「skywalker」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 skywalker-labs/ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 skywalker-labs/ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 skywalker-labs/ui 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A comprehensive toolkit for Laravel package and application development.
Alfabank REST API integration
OmniLocate: Advanced user location detection for Laravel with persistence, caching, and distance utilities.
Laravel package for Accurate Online API integration.
A powerful and highly customizable Log Viewer for Laravel, featuring a robust API, Role-Based Access Control (RBAC), AI-powered error analysis, performance insights, and automated reporting. Supports Laravel 6.x to 12.x with dark mode and multi-language support out of the box.
Seamless Passwordless Authentication for Laravel. Integrate OTP (One-Time Password) Login and 2FA into your default authentication flow with zero-conf middleware and ready-to-use UI.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-06