# Creating a Simple CRUD

{% hint style="info" %}
**Notice**: if you need the documentation for **Vue.js** QuickAdminPanel generator, released in 2020, please [click this link](https://helpdocs.quickadminpanel.com/vue.js-generator-version/installing-downloaded-vue-panel).&#x20;
{% endhint %}

## **Video version of the tutorial**

{% embed url="<https://www.youtube.com/watch?v=E_8Tp-fjggs>" %}

## **Text + screenshots version**

To create a new CRUD, click **Menus / CRUDs** on the left sidebar, and then **Create CRUD Menu Item** in the center.

![](/files/-M7nC0QMddQcMfDYKb6A)

You will see a form, like below.

![](/files/-M7nC_DthtqpuZcsUX7m)

On the top you need to enter the CRUD Model name (in singular, like "**Project**" or "**Transaction**"), choose Font Awesome icon and parent menu, if needed.

&#x20;At the bottom, some fields are pre-filled for you: **id**, **timestamps**, **soft-deletes**.

&#x20;To add a new field, click **Add new field** row. You will see this form:

![](/files/-M7pz_Fed2A5BOq_V02h)

There is a dozen of field types, in the most simple **Text** field type you only need to add **Key** and **Label**, and click **Save**.

Every field type has its own settings. For example, if we add another field with **Textarea** field type, we can choose whether to use [CKEditor](https://ckeditor.com/):

![](https://laraveldaily.com/wp-content/uploads/2019/03/create-crud-textarea.png)

After you finish entering all the fields, just click **Save CRUD** at the bottom of the fields.

![](https://laraveldaily.com/wp-content/uploads/2019/03/create-crud-save.png)

Then the code will start generating, and you will see the progress in the left sidebar - when you're able to View or Download new code.

## Table Settings

At the bottom of Create CRUD page, there are three settings for the visual table that will be shown for the list of that DB table:

* NEW! You can enable **column search** (to have input search for each individual column)
* You can modify amount of **entries per page** (default 100)
* You can change **ordering** (default is newest-to-oldest, so "*order by id desc*")

![](/files/-M8tZIiTUqQi_WxHG-FB)

## Additional Options

At the top of CRUD form, there is a link **Show more options** which opens up a few extra settings, which are all enabled by default, but you can disable them.

![](/files/-M7q-p5ThDufJQYqKc82)

Here, you can enable/disable:

* Soft Deletes - read more about them in [Laravel documentation](https://laravel.com/docs/master/eloquent#soft-deleting)
* To generate or not generate API routes/controllers
* What actions are needed for this CRUD - maybe you need only create but not edit form

Also, you may see more options here, depending on the modules you have installed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocs.quickadminpanel.com/create-panel/create-crud-string-fields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
