Download the PHP package dev1437/pinia-model-generator without Composer
On this page you can find all versions of the php package dev1437/pinia-model-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dev1437/pinia-model-generator
More information about dev1437/pinia-model-generator
Files in dev1437/pinia-model-generator
Download dev1437/pinia-model-generator
More information about dev1437/pinia-model-generator
Files in dev1437/pinia-model-generator
Vendor dev1437
Package pinia-model-generator
Short Description Generate Pinia ORM models based on your Laravel models
License
Package pinia-model-generator
Short Description Generate Pinia ORM models based on your Laravel models
License
Please rate this library. Is it a good library?
Informations about the package pinia-model-generator
This work is based on https://github.com/fumeapp/modeltyper, credit to them.
To use
- Install pinia-orm if you haven't already
npm i pinia-orm
- Run
artisan piniamodels:generate
- Code will be generated into
resources/js/models
by default
Modifying
By default, hidden fields are excluded and all other fields, mutators and relationships are included
- Create a new command
- Add the following code
Custom code in generated models
Each model contains two blocks
Any code written in these blocks will be persisted when the models are regenerated
All versions of pinia-model-generator with dependencies
PHP Build Version
Package Version
The package dev1437/pinia-model-generator contains the following files
Loading the files please wait ....