Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steelants/livewire-form


https://github.com/steelants/livewire-form

Last synced: about 2 months ago
JSON representation

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,
```

## Contributors


## 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)