Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steelants/livewire-form
https://github.com/steelants/livewire-form
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/steelants/livewire-form
- Owner: steelants
- License: mit
- Created: 2024-06-25T18:02:07.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-10T14:11:21.000Z (29 days ago)
- Last Synced: 2024-10-30T00:11:01.436Z (9 days ago)
- Language: PHP
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Livewire-Form
### Basic Form Component For Creation/Update of model
```php
__('Jméno')
];
}function onSuccess(){
//DO SOMETHING ON SUCESS;
}function onError(){
//DO SOMETHING ON ERROR;
}
}
```
```blade
@livewire('form-test', ['model_id' => 2])
```### Dev Enviroment
1) Clone Repo to `[LARVEL-ROOT]packages/`
2) Modify ;composer.json`
```json
"autoload": {
"psr-4": {
...
"SteelAnts\\LivewireForm\\": "packages/livewire-form/src/"
...
}
},
```
3) Add (code below) to: `[LARVEL-ROOT]packages/bootstrap/providers.php`
```php
SteelAnts\LivewireForm\LivewireFormServiceProvider::class,
```## Other Packages
[steelants/datatable](https://github.com/steelants/Livewire-DataTable)[steelants/form](https://github.com/steelants/Laravel-Form)
[steelants/modal](https://github.com/steelants/Livewire-Modal)
[steelants/boilerplate](https://github.com/steelants/Laravel-Boilerplate)