kodebyraaet/pattern 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kodebyraaet/pattern

最新稳定版本:v0.4.5

Composer 安装命令:

composer require kodebyraaet/pattern

包简介

The base for the repository pattern that we use in Kodebyraaet

README 文档

README

The base for the repository pattern we use in Kodebyraaet.

Installation

Install composer dependency.

composer require kodebyraaet/pattern

If you are using Laravel add the Service Provider to the config/app.php file.

Kodebyraaet\Pattern\BaseRepositoryServiceProvider::class,

If you are using Lumen add the Service Provider to the bootstrap/app.php file.

$app->register(Kodebyraaet\Pattern\BaseRepositoryServiceProvider::class);

Create the base repositories

If you have the Kodebyraaet Generators installed you can just run the following command:

php artisan make:base-repository

Or you can do it manually:

Create the file App\Entities\Repository.php (the namespace may differ):
<?php

namespace App\Entities;

use Kodebyraaet\Pattern\BaseRepository;

class Repository extends BaseRepository
{

}
Create the file App\Entities\RepositoryInterface.php (namespace may differ):
<?php

namespace App\Entities;

use Kodebyraaet\Pattern\BaseRepositoryInterface;

interface RepositoryInterface extends BaseRepositoryInterface
{

}

How to use

Check out Kodebyraaet Generators for a easier way to create the structure that extends this repository pattern.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固