承接 bjitgroup/reusable-lib-laravel 相关项目开发

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

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

bjitgroup/reusable-lib-laravel

Composer 安装命令:

composer require bjitgroup/reusable-lib-laravel

包简介

A BJIT Reusable Laravel Package

README 文档

README

Overview

The BJIT Reusable Library Package is a lightweight and modular Laravel package designed to provide reusable components and features to streamline development.

Features

  • 🔥 Boilerplate Structure
  • 🔐 Auth Module
  • 🏗 Sample Module
  • 🎛 Permissions & Roles Management
  • 📝 Blog Module
  • 📁 Centralized File Handling
  • 🔔 Notifications (Email, Database, Push)

Installation

Requirements

  • Laravel v8+ (Latest Supported)
  • PHP with exec function enabled
  • Composer v2+ (Recommended)

Step 1: Install Laravel

composer create-project laravel/laravel rl-demo

Step 2: Install the Reusable Library

cd rl-demo  # Navigate to the project root
composer require bjitgroup/reusable-lib-laravel

Version Compatibility

Laravel Version Package Version Installation Command
11.x Latest composer require bjitgroup/reusable-lib-laravel
9.x - 10.x 2.x composer require bjitgroup/reusable-lib-laravel:2.*
8.x 1.x composer require bjitgroup/reusable-lib-laravel:1.*
  • Laravel 11.x : Use composer require bjitgroup/reusable-lib-laravel
  • Laravel 9.x to 10.x : Use composer require bjitgroup/reusable-lib-laravel:2.*
  • Laravel 8.x : Use composer require bjitgroup/reusable-lib-laravel:1.*

Step 3: Configure the .env File

Ensure the correct database connection and APP_URL settings:

APP_URL=http://localhost:8000

Step 4: Install the Reusable Library

php artisan bjit:reusable-lib-install

Step 5: Serve the Application

php artisan serve

Push Notification Setup

For Laravel 11.x (Reverb)

php artisan reverb:start

For Laravel 8.x - 10.x (Websockets)

php artisan websocket:serve

For Queue Processing

php artisan queue:work

Client-Side Configuration

  • Configure the client application with Key, Host, and Port.
  • Build the frontend application:
npm run build

API Documentation (Swagger)

Access the API documentation by opening your browser and navigating to:

http://localhost:8000/api/documentation

File Structure

The package follows a modular structure:

  1. Route - Configure API routes.
  2. Controller - Handle requests and responses.
  3. Request - Form validation logic.
  4. Service - Business logic handling.
  5. Repository - Database operations (CRUD).
  6. Resource - API response formatting.

Generate Module Files

php artisan bjit-make:model Products/Item -m --all

Options:

  • -m → Create migration
  • -s → Create seed file
  • -f → Create factory

You can also use -mfs --all at the end of the command to generate a migration, seed, and factory simultaneously.

Generate Service or Repository

php artisan bjit-make:service Products/ProductBrand
php artisan bjit-make:repository Products/ProductBrand

Remove a Module

php artisan bjit-remove:all Products/Item

Uninstall Reusable Library

php artisan bjit:reusable-lib-remove

License

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

bjitgroup/reusable-lib-laravel 适用场景与选型建议

bjitgroup/reusable-lib-laravel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 494 次下载、GitHub Stars 达 5, 最近一次更新时间为 2021 年 10 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「api」 「crossdomain」 「laravel boilerplate」 「bjit」 「bjitgroup」 「reusable library」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

围绕 bjitgroup/reusable-lib-laravel 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-05