alessio-ferretti/livewire-ticket
| Install | |
|---|---|
composer require alessio-ferretti/livewire-ticket |
|
| Latest Version: | v0.1.1 |
| PHP: | >=8.1 |
| License: | MIT |
| Last Updated: | Dec 15, 2023 |
| Links: | GitHub · Packagist |
LivewireTicket
Minimal issue ticketing package for livewire (2) laravel project
Installation
Via Composer
$ composer require alessio-ferretti/livewire-ticket
$ php artisan migrate
Usage
Bootstrap 5 and Alpinejs
This package require bootstrap library
https://getbootstrap.com/docs/5.2/getting-started/introduction/
And for livewire datatable ( https://github.com/rappasoft/laravel-livewire-tables ) you need to include in your page
<script src="//unpkg.com/alpinejs" defer></script>
Livewire directive
Add the Livewire directive to your template to include the single componente
<html>
<body>
.....
@livewire('lt-new',['user_id' => 1])
@livewire('lt-manage',['user_id' => 1,'lt_ticket_id' => 1])
@livewire('lt-table',['theme'=>"bootstrap-5",'editRouteName'=>'hello'])
</body>
</html>
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author@email.com instead of using the issue tracker.
Credits
License
MIT. Please see the license file for more information.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v0.1.1 | >=8.1 | MIT |