Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sagor110090/livewire-crud
https://github.com/sagor110090/livewire-crud
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sagor110090/livewire-crud
- Owner: sagor110090
- License: mit
- Created: 2021-10-14T08:58:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T18:03:13.000Z (5 months ago)
- Last Synced: 2024-11-13T00:48:24.504Z (about 2 months ago)
- Language: PHP
- Size: 197 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Livewire Crud Generator
[![Latest Version on Packagist](https://img.shields.io/packagist/v/sagor110090/livewire-crud.svg?style=flat-square)](https://packagist.org/packages/sagor110090/livewire-crud)
A livewire CRUD Generation package to help scaffold basic site files. Package is autoloaded as per PSR-4 autoloading in any laravel version `^11.0` so no extra config required. However is has been tested on version `^10.0`. It uses ***auth*** middleware thus installs `breeze` just incase you don't have any other auth mechanism.
## Documentation
More detailed documentation can ne found at [livewire-crud](https://sagor110090.github.io/#/)
## Installation
You can install the package via [Composer](https://getcomposer.org/):
```bash
composer require sagor110090/livewire-crud --dev
```## Usage
After running `composer require sagor110090/livewire-crud` command just run:
```bash
php artisan crud:install
```
**This command will perfom below actions:* Compile css/js based on `bootstrap and fontawesome/free`.
* Run `npm install && run dev`
* Flush *node_modules* files from you folder.
Then generate Crud by:
```bash
php artisan crud:generate {table-name}
```
**This command will generate:* Livewire Component.
* Model.
* Views.
* Factory.
**Remember to customise your genertaed factories and migrations if you need to use them later
## LicenseThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.