定制 joynala/maker 二次开发

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

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

joynala/maker

Composer 安装命令:

composer require joynala/maker

包简介

This is a laravel repository generator.

README 文档

README

GitHub issues GitHub forks GitHub stars GitHub license

🚀 Overview

This repository offers a ready-to-use implementation of the Repository Pattern in Laravel. The repository pattern separates the logic that retrieves data from a model and allows for better flexibility and scalability when interacting with databases.

🌟 Requirements

  • PHP ^8.x
  • Laravel ^8.x

✨ Suggestion

  • It's recommended to start with a fresh Laravel project when using this repository pattern template, but integration into existing projects is seamless as well.

📦 How To Install

Install this package effortlessly using Composer:

composer require joynala/maker

🛠️ Features

  • Repository Pattern: A clean, modular implementation of the Repository Pattern for abstracting database queries and data access.

  • Single Responsibility: Keeps your controllers lightweight by moving database logic to repositories.

  • Service Layer Integration: Easily integrate with a service layer for better logic handling.

  • Model/Models Creation: You can create one or multiple models, along with their migrations and controllers, using a single command.

  • Repository/Repositories Creation: You can create one or multiple repositories for multiple models using a single command. For instance, to create just a single repository.

  • Unit Testable: The repository pattern makes your database interactions easier to test in isolation.

🚀 What Happens After Installing This Package?

  • The php artisan make:model command has undergone a luxurious transformation, featuring an added repository pattern.

    • Command Excellence:
      php artisan make:model ExampleModel -m
      php artisan make:model ExampleModel1 ExampleModel2 ExampleModel3 -m
      php artisan make:model ExampleModel -mc
      php artisan make:model ExampleModel1 ExampleModel2 ExampleModel3 -mc
      php artisan make:model ExampleModel -mcr
      php artisan make:model ExampleModel1 ExampleModel2 ExampleModel3 -mcr
  • The php artisan make:repository command has undergone a luxurious transformation, featuring an added repository pattern.

    • Command Excellence:

      php artisan make:repository ExampleModel
      php artisan make:repository ExampleModel1 ExampleModel2 ExampleModel3

      Enjoy the ability to create a single model or multiple models at once, complete with migration/migrations. The system gracefully prompts you, inquiring if you wish to create a repository alongside the model.

Embark on your Laravel journey with the elegance and sophistication of Laravel Boiler Template! 🌟 Add stars, fork the project, and engage with the community. 🚀

joynala/maker 适用场景与选型建议

joynala/maker 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 4.96k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 10 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-07