Download the PHP package oskar-mikael/livewire-dirty-state without Composer
On this page you can find all versions of the php package oskar-mikael/livewire-dirty-state. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download oskar-mikael/livewire-dirty-state
More information about oskar-mikael/livewire-dirty-state
Files in oskar-mikael/livewire-dirty-state
Download oskar-mikael/livewire-dirty-state
More information about oskar-mikael/livewire-dirty-state
Files in oskar-mikael/livewire-dirty-state
Vendor oskar-mikael
Package livewire-dirty-state
Short Description Implement a smarter dirty state to your Livewire components
License
Package livewire-dirty-state
Short Description Implement a smarter dirty state to your Livewire components
License
Please rate this library. Is it a good library?
Informations about the package livewire-dirty-state
Livewire Dirty State
Implements dirty states to your Livewire component, and automatically prompts your frontend on page refreshes.
Requirements
- PHP >= 8.1
- Livewire ^3.6
Installation
Usage
Example
State will be made dirty upon a property values' updated.
Manually update the dirty state
Ignore dirty state on individual properties
By default, all properties will update the dirty state, but if you'd one or more properties not to do so,
you can apply the IgnoreDirtyState
attribute to the property.
Useful Tools
Running Tests:
or
Contributing
- Fork it.
- Create your feature branch (git checkout -b my-new-feature).
- Make your changes.
- Run the tests, adding new ones for your own code if necessary (phpunit).
- Commit your changes (git commit -am 'Added some feature').
- Push to the branch (git push origin my-new-feature).
- Create new pull request.
License
The MIT License (MIT). License File
All versions of livewire-dirty-state with dependencies
PHP Build Version
Package Version
The package oskar-mikael/livewire-dirty-state contains the following files
Loading the files please wait ....