a3stic0de/laravel-layouts-ui
Composer 安装命令:
composer require a3stic0de/laravel-layouts-ui
包简介
A Laravel package to generate reusable layouts.
README 文档
README
A Laravel package to generate reusable layout templates for your Laravel applications. This package provides a complete set of blade layout templates and associated assets for quick Laravel application setup.
Features
- Pre-built responsive layout templates
- Automated assets extraction
- Easy installation and setup
- Support for Laravel 8.x and 9.x
- Customizable templates
- Built-in navigation components
Requirements
- PHP ^7.3|^8.0
- Laravel ^8.0|^9.0
- ZipArchive PHP extension
Installation
Install the package via Composer:
composer require a3stic0de/laravel-layouts-ui
The package will automatically register its service provider LayoutsServiceProvider.
Usage
Quick Setup
Generate all layouts and extract assets using the provided Artisan command:
php artisan layouts:generate
This command will:
- Create layout files in
resources/views/layouts/ - Extract assets to
public/assets/
Manual Publishing
Publish only the layout views:
php artisan vendor:publish --tag=layouts
Publish only the assets:
php artisan vendor:publish --tag=assets
Layout Components
The package includes the following blade templates:
main.blade.php- Base layout templatenavbar.blade.php- Navigation bar componentsidebar.blade.php- Sidebar navigation componentfooter.blade.php- Footer component
Configuration
The layout templates are highly customizable. After publishing, you can find them in:
resources/views/layouts/
├── main.blade.php
├── navbar.blade.php
├── sidebar.blade.php
└── footer.blade.php
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Security
If you discover any security-related issues, please email via GitHub instead of using the issue tracker.
License
This package is open-sourced software licensed under the MIT license.
a3stic0de/laravel-layouts-ui 适用场景与选型建议
a3stic0de/laravel-layouts-ui 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 a3stic0de/laravel-layouts-ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 a3stic0de/laravel-layouts-ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-20