> For the complete documentation index, see [llms.txt](https://onevarez.gitbook.io/cli/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onevarez.gitbook.io/cli/usage/configure-1/data-model-1.md).

# Data model

## Install

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

## Create a new data model

{% hint style="info" %}
This functionality is provided by core task `@core/laravel-model` and hence it must be enabled before using it.
{% endhint %}

Create a new model is a fairly straightforward process:

```
laraboot model add <name>
```

{% hint style="info" %}
You will be prompted with questions that will help laraboot understand the structure of the model.
{% endhint %}

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

## Relationships

Pending.
