alessio-ferretti/livewire-ticket
:Mini issue ticket panel in livewire
7
| 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 |
Maintainer: alessio.ferretti
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.