alessio-ferretti/livewire-ticket

:Mini issue ticket panel in livewire

v0.1.1 2023-10-11 11:54 UTC

This package is not auto-updated.

Last update: 2025-03-21 22:33:38 UTC


README

Latest Version on Packagist Total Downloads

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.