dev-made-it/laravel-model-boiler

Laravel Model Boiler

dev-main 2024-02-06 14:04 UTC

This package is auto-updated.

Last update: 2024-10-06 15:45:44 UTC


README

⚠️ This package is Work In Progress (WIP)

This package is aimed to help developers to quickly generate PHP & TypeScript models, interfaces & classes.

Installation

  • Install package

    composer require dev-made-it/laravel-model-boiler

  • Publish config file

    php artisan vendor:publish --provider="DevMadeIt\Boiler\BoilerServiceProvider"

Usage

Run php artisan boiler:all MODEL_NAME, i.e. php artisan boiler:all User

Configuration

Roadmap

  • Generate PHP annotations for Laravel model
  • Generate PHP relations for Laravel model
  • Generate Laravel resources & resource collections
    • Resource
    • Resource annotations
    • Resource annotations types
    • Resource collection
  • Generate resource REST API controllers
  • Generate TypeScript from database migrations
    • interface
    • model
    • enums
    • custom types