-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ritesh Singh <[email protected]>
- Loading branch information
1 parent
c45cd2f
commit 60cd499
Showing
3 changed files
with
50 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
# The license | ||
|
||
Copyright (c) author name <author email> | ||
Copyright (c) Ritesh Singh <[email protected]> | ||
|
||
...Add your license text here... | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,59 @@ | ||
# LiveCrud | ||
|
||
[![Latest Version on Packagist][ico-version]][link-packagist] | ||
[![Total Downloads][ico-downloads]][link-downloads] | ||
[![Build Status][ico-travis]][link-travis] | ||
[![StyleCI][ico-styleci]][link-styleci] | ||
Live Crud Generator. This package generates Basic Crud with Livewire. | ||
|
||
This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list. | ||
![](./livewire-crud.gif) | ||
|
||
## Features | ||
- Generate Complete Crud With Livewire Component and Blade Files | ||
- Create / Update / Delete Functional | ||
- Real Time Validation Already Added | ||
- Fuzzy Search Functional | ||
|
||
## Installation | ||
|
||
Via Composer | ||
|
||
``` bash | ||
$ composer require imritesh/livecrud | ||
composer require imritesh/livecrud | ||
``` | ||
|
||
## Prerequisites | ||
- Models should be in `app/Models` directory | ||
- Crud of only $fillable property will be generated | ||
```php | ||
protected $fillable = ['name','username']; | ||
``` | ||
|
||
## Usage | ||
```bash | ||
php artisan crud:make Name_Of_Your_Model | ||
``` | ||
|
||
## Change log | ||
- This Command Will Generate Two Files | ||
- First Will be in `app/HttpLivewire` | ||
- Second Will be in `resources/views/Livewire` | ||
|
||
Please see the [changelog](changelog.md) for more information on what has changed recently. | ||
|
||
## Testing | ||
|
||
``` bash | ||
$ composer test | ||
``` | ||
|
||
## Contributing | ||
|
||
Please see [contributing.md](contributing.md) for details and a todolist. | ||
## Limitations | ||
- This Packages uses [Tailwind CSS V2](https://tailwindcss.com/) | ||
|
||
## TODO | ||
- Bootstrap 4 & 5 Support | ||
- Bulma Support | ||
|
||
|
||
## Security | ||
|
||
If you discover any security related issues, please email author email instead of using the issue tracker. | ||
|
||
## Credits | ||
|
||
- [author name][link-author] | ||
- [All Contributors][link-contributors] | ||
- [Ritesh Singh](https://imritesh.com) | ||
|
||
## License | ||
|
||
license. Please see the [license file](license.md) for more information. | ||
|
||
[ico-version]: https://img.shields.io/packagist/v/imritesh/livecrud.svg?style=flat-square | ||
[ico-downloads]: https://img.shields.io/packagist/dt/imritesh/livecrud.svg?style=flat-square | ||
[ico-travis]: https://img.shields.io/travis/imritesh/livecrud/master.svg?style=flat-square | ||
[ico-styleci]: https://styleci.io/repos/12345678/shield | ||
|
||
[link-packagist]: https://packagist.org/packages/imritesh/livecrud | ||
[link-downloads]: https://packagist.org/packages/imritesh/livecrud | ||
[link-travis]: https://travis-ci.org/imritesh/livecrud | ||
[link-styleci]: https://styleci.io/repos/12345678 | ||
[link-author]: https://github.com/imritesh | ||
[link-contributors]: ../../contributors | ||
license. Please see the [license file](https://github.com/riteshsingh1/livewire-crud/blob/master/license.md) for more information. |