🖥️
Adminetic
  • Introduction
  • What is Adminetic
  • Prerequisites
  • Installation
  • Configurations
  • Modules
    • User Management
    • Role Management
    • Settings
    • Preference
    • Activity
  • Commands
    • CRUD Generator
    • Permission Generator
    • Repo Generator
    • Superuser Generator
    • Dummy Generator
    • API Generator
    • Helper Command
  • Services
    • OAuth
    • MyMenu
    • MyDashboard
    • 😎Bouncer
    • 💻CLI
  • Change Logs
  • Github Repo
  • Addons
    • Announcement
    • Contact
    • Website
    • Notify
    • Backup
    • Google Analytics
    • Business Hour
    • Newsletter
  • Example Walkthrough
Powered by GitBook
On this page

Was this helpful?

  1. Commands

Repo Generator

Repository Pattern Generator Command

Getting Super Powers of Repository Pattern Generator

You can generate repo pattern file structure of given model using following command :

php artisan make:repo Post

This will create :

  • PostInterface in App/Contracts

  • PostRepository in App/Repositories

PreviousPermission GeneratorNextSuperuser Generator

Last updated 3 years ago

Was this helpful?