定制 awaistech/larpack 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

awaistech/larpack

Composer 安装命令:

composer require awaistech/larpack

包简介

AwaisAdmin is a powerful and easy-to-use Laravel package that provides a fully functional admin panel for managing blogs, SEO settings, and contact messages. It is designed to streamline content management while offering essential SEO tools and an intuitive contact message system.

README 文档

README

Laravel PHP License

🚀 Introduction

Larpack is a Laravel package developed by Awais that provides a full-featured admin panel, authentication system, and middleware support for managing users, permissions, and system settings efficiently.

🛠️ Features

  • 🏗️ Pre-built Admin Panel with authentication and role-based access control.
  • 🗂️ Middleware Support for authentication, maintenance mode, and redirection.
  • 📜 Route Management for web, admin, and superadmin sections.
  • 🛠️ Configurable Settings with an easy-to-merge configuration file.
  • 📑 View & Migration Loading for seamless integration.

📥 Installation

You can install Larpack via Composer:

composer require awaistech/larpack

Once installed, publish the package assets:

php artisan vendor:publish --tag=larpack-config
php artisan vendor:publish --tag=larpack-views
php artisan vendor:publish --tag=larpack-migrations

Run the migrations:

php artisan migrate

⚙️ Configuration

1️⃣ Register the Service Provider (If Not Auto-Discovered)

For Laravel versions below 5.5, add the service provider manually in config/app.php:

'providers' => [
    Awaistech\Larpack\PackageServiceProvider::class,
],

2️⃣ Middleware Setup

Larpack provides custom middleware for authentication and role management. You can register them in app/Http/Kernel.php:

protected $routeMiddleware = [
    'authchheck' => \Awaistech\Larpack\Middleware\AuthChheck::class,
    'check.maintenance' => \Awaistech\Larpack\Middleware\CheckMaintenanceMode::class,
    'redirect.if.login' => \Awaistech\Larpack\Middleware\RedirectIfLogin::class,
    'super.admin' => \Awaistech\Larpack\Middleware\SuperAdmin::class,
];

🛠 Usage

1️⃣ Routing

The package registers the following routes automatically:

  • /admin → Admin Panel
  • /superadmin → Super Admin Dashboard
  • /login → Authentication Page

To view all registered routes, run:

php artisan route:list

2️⃣ Blade Views

Views are loaded from the package. You can override them by copying files to:

resources/views/vendor/larpack/

3️⃣ Configurations

Modify the configuration file config/larpack.php as needed.

📦 Publishing Resources

To publish specific resources:

php artisan vendor:publish --tag=larpack-config
php artisan vendor:publish --tag=larpack-views
php artisan vendor:publish --tag=larpack-migrations

To publish everything:

php artisan vendor:publish --provider="Awaistech\Larpack\PackageServiceProvider"

🛑 Uninstalling

If you need to remove Larpack, follow these steps:

composer remove awaistech/larpack

Delete any published configuration and migration files manually:

rm -rf config/larpack.php
rm -rf database/migrations/*_create_larpack_tables.php
rm -rf resources/views/vendor/larpack

📜 License

This package is open-sourced software licensed under the MIT License.

🤝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork this repository.
  2. Clone your fork:
    git clone https://github.com/your-username/larpack.git
  3. Create a new branch for your feature:
    git checkout -b feature-name
  4. Commit changes and push:
    git add .
    git commit -m "Added new feature"
    git push origin feature-name
  5. Create a Pull Request.

📞 Support

If you encounter any issues, please open an issue on GitHub or contact us:

🚀 Enjoy using Larpack, developed by Awais, for your Laravel applications! 🚀

awaistech/larpack 适用场景与选型建议

awaistech/larpack 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 16 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 awaistech/larpack 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 awaistech/larpack 我们能提供哪些服务?
定制开发 / 二次开发

基于 awaistech/larpack 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

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