DEV Community

loading...

New Package to generate CRUD Files using TALL Stack

Saurabh Mahajan
PHP Developer, mostly focused on Laravel.
・1 min read

I have created a Package, which would generate CRUD Files for your Model.

GitHub logo ascsoftw / tall-crud-generator

Laravel Package to generate CRUD Files using TALL Stack

tall-crud-generator

Laravel Package to generate CRUD Files using TALL Stack

Requirements

Make sure that Livewire is installed properly on your project.

Make sure that TailwindCSS is installed properly on your project.

Make sure that AlpineJS is installed properly on your project.

Installation

You can install the Package using Composer

composer require ascsoftw/tall-crud-generator
Enter fullscreen mode Exit fullscreen mode

Usage

After you have installed the package, navigate to Config Page at URL /tall-crud-generator. Once there Select your Model and Select all the Features. Just submit the Form and you will be provided with a Livewire Component that you can include in any View where you to display the CRUD Functionality.

Recommended way of Installation

Although Config Page is displayed at URL /tall-crud-generator and is also configurable. It is recommended that you disable the Route from the Config File and in order to have better control you can display the Config Page by including the Livewire Component in…

The Package generates the Livewire component and Corresponding Files which support Pagination, Sorting, Searching, Adding (inside Modal), Editing (inside Modal), Validation and Delete (with Confirmation Modal). You can select the Columns that you need to display on the Listing. You can also select the Fields which needs to be displayed on Add and Edit Form as well as their Field Type.

All of these features are configurable. You can select or deselect any Feature. The Package works by generating the actual Livewire Component and View Files, so once you have generated these Files they are no longer linked to the Package. This gives you the opportunity to Edit the Files or customize them as per your requirement.

Here is a Youtube Video explaining how to install and use this Package. You can jump straight to 7:46 to see the Package in Action.

Please install and use this package and let me know if you have any feedback.

Discussion (0)