Data model

Install

laraboot task add @core/laravel-model --format=file -vvv

Create a new data model

This functionality is provided by core task @core/laravel-model and hence it must be enabled before using it.

Create a new model is a fairly straightforward process:

laraboot model add <name>

You will be prompted with questions that will help laraboot understand the structure of the model.

Once you're done defining your model,@core/laravel-model will detect it and create Laravel models for your application.

Relationships

Pending.

Last updated