PHPackages                             goodyweb/jetstream-crud - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. goodyweb/jetstream-crud

ActiveLaravel-package[Framework](/categories/framework)

goodyweb/jetstream-crud
=======================

Create, Read, Update, and Delete for Jetstream

05PHP

Since Dec 10Pushed 2y ago2 watchersCompare

[ Source](https://github.com/goodyweb/jetstream-crud)[ Packagist](https://packagist.org/packages/goodyweb/jetstream-crud)[ RSS](/packages/goodyweb-jetstream-crud/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![Laravel logo](https://camo.githubusercontent.com/58147cda8b19af1ffdfaf1428b45912a04093851734c438a4f96b0eee5869a85/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f7468756d622f392f39612f4c61726176656c2e7376672f31393370782d4c61726176656c2e7376672e706e67)](https://camo.githubusercontent.com/58147cda8b19af1ffdfaf1428b45912a04093851734c438a4f96b0eee5869a85/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f7468756d622f392f39612f4c61726176656c2e7376672f31393370782d4c61726176656c2e7376672e706e67)[![Composer logo](https://camo.githubusercontent.com/08f1a7d2da148d576c7422b2c863bd3479e6bc7fac632e295cf01b9c063afa1a/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f617263686976652f322f32362f32303135303133313039313333342532314c6f676f2d636f6d706f7365722d7472616e73706172656e742e706e67)](https://camo.githubusercontent.com/08f1a7d2da148d576c7422b2c863bd3479e6bc7fac632e295cf01b9c063afa1a/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f617263686976652f322f32362f32303135303133313039313333342532314c6f676f2d636f6d706f7365722d7472616e73706172656e742e706e67)

Jetstream CRUD
==============

[](#jetstream-crud)

This Laravel package generates bare Livewire Components and Blade templates that would allow you to manipulate the records of a certain database table. The modules include:

- **C**reate
- **R**ead
- **U**pdate
- **D**elete
- Search
- Pagination

Getting started
---------------

[](#getting-started)

This package makes it easy to create a full CRUD module by just issuing a single command:

```
php artisan generate:crud --model=Person --livewire=Persons
```

**Voila!**

See the [Installation](#nstallation), [Configuration](#configuration), and [Usage](#usage) sections for the full details.

Installation
------------

[](#installation)

```
composer require goodyweb/jetstream-crud dev-master
```

Configuration
-------------

[](#configuration)

On your Livewire configuration file (`config/livewire.php`), set the `legacy_model_binding` option to `true` like so:

```
'legacy_model_binding' => true,
```

Important: If you don't have the `config/livewire.php` file, you may just create one with the default content from the [raw code repository](https://raw.githubusercontent.com/livewire/livewire/main/config/livewire.php).

Usage
-----

[](#usage)

1. Make a database table as you usually would:

    ```
    php artisan make:migration create_persons_table --create=persons
    ```

    - Make some edits ```
