承接 a3stic0de/laravel-layouts-ui 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

a3stic0de/laravel-layouts-ui

最新稳定版本:v1.1.0

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:

  1. Create layout files in resources/views/layouts/
  2. 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 template
  • navbar.blade.php - Navigation bar component
  • sidebar.blade.php - Sidebar navigation component
  • footer.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.

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-20