Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foxws/wireuse
Collection of useful Livewire Utilities.
https://github.com/foxws/wireuse
blade components concerns laravel library livewire utilities
Last synced: 2 months ago
JSON representation
Collection of useful Livewire Utilities.
- Host: GitHub
- URL: https://github.com/foxws/wireuse
- Owner: foxws
- License: mit
- Created: 2024-04-06T18:49:25.000Z (9 months ago)
- Default Branch: 3.x
- Last Pushed: 2024-10-17T23:28:36.000Z (2 months ago)
- Last Synced: 2024-10-18T02:14:51.516Z (2 months ago)
- Topics: blade, components, concerns, laravel, library, livewire, utilities
- Language: PHP
- Homepage: https://foxws.nl/projects/wireuse
- Size: 193 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# WireUse
[![Latest Version on Packagist](https://img.shields.io/packagist/v/foxws/wireuse.svg?style=flat-square)](https://packagist.org/packages/foxws/wireuse)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/foxws/wireuse/run-tests.yml?branch=3.x&label=tests&style=flat-square)](https://github.com/foxws/wireuse/actions?query=workflow%3Arun-tests+branch%3A3.x)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/foxws/wireuse/fix-php-code-style-issues.yml?branch=3.x&label=code%20style&style=flat-square)](https://github.com/foxws/wireuse/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3A3.x)
[![Total Downloads](https://img.shields.io/packagist/dt/foxws/wireuse.svg?style=flat-square)](https://packagist.org/packages/foxws/wireuse)This packages offers a collection of useful [Livewire](https://livewire.laravel.com/) utilities and components.
The full documentation and more information about WireUse, is on our dedicated [documentation](https://foxws.nl/projects/wireuse) website.
## Installation
You can install the package via composer:
```bash
composer require foxws/wireuse
```Optionally, you can publish the config file with:
```bash
php artisan vendor:publish --tag="wireuse-config"
```## Usage
This is a selection of the available features:
- [Property Synthesizers](https://foxws.nl/posts/wireuse/property-synthesizers) - Force usage of model route-keys, instead of model ids.
- [Components](https://foxws.nl/posts/wireuse/components) - Components like `Page` and useful traits.
- [HTML](https://foxws.nl/posts/wireuse/laravel-html) - Extends Spatie's [laravel-html](https://spatie.be/docs/laravel-html/v3/introduction) to generate HTML using a clean, simple and easy to read API.
- [State Objects](https://foxws.nl/posts/wireuse/state-objects) - State objects are based on states that you find, for example, in a VueJS Store.
- [Forms](https://foxws.nl/posts/wireuse/forms) - Traits and extensions for [Livewire Forms](https://livewire.laravel.com/docs/forms).
- [Structure Scout](https://foxws.nl/posts/wireuse/structure-scout) - Supported by [spatie/php-structure-discoverer](https://github.com/spatie/php-structure-discoverer) package, it provides a scout to discover and register components, which also offers benefits such as caching.Please checkout our [documentation](https://foxws.nl/projects/wireuse) for more information.
## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Foxws](https://github.com/foxws)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.