2017 © Pedro Peláez
 

library repo

Create Module wise repository

image

createmodulewiserepo/repo

Create Module wise repository

  • Friday, February 2, 2018
  • by Shweta-Grover
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

create-module-wise-repository

First you need to install nWidrat/laravel-modules to create modules in your project., (*1)

To create repository fro specific module, (*2)

Run composer require createmodulewiserepo/repo dev-master, (*3)

add createmodulewiserepo\repo\Providers\MakeRepositoryServiceProvider::class in your config/app.php file, (*4)

Run composer dump-autoload, (*5)

Run php artisan module:make-repository {repositoryName} {moduleName} --model={modelName} --interface={interfaceName}., (*6)

Repository name: Name of class of repository, (*7)

Module Name : Particular module name in which repository will be created., (*8)

Repository file will be created in App/Modules//Repositories, (*9)

Model Name : Model for repository will be injected in specified Repository Constructor, (*10)

Interface Name : Interface to whom repository will implement., (*11)

Model and Interface will be created if they don't exist, (*12)

Repository and module name are mandatory. Model and interface name are optional., (*13)

The Versions

02/02 2018

dev-master

9999999-dev

Create Module wise repository

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires