You can install the package via composer:
composer require bataboom/pollsbb:dev-main
You can publish and run the migrations with:
php artisan vendor:publish --tag="pollsbb-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="pollsbb-config"
This is the contents of the published config file:
return [
'user_model' => App\Models\User::class,
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="pollsbb-views"
<x-app-layout>
<livewire:create-poll />
@php
$findPoll = \BataBoom\PollsBB\Models\Poll::all()->first();
@endphp
<livewire:view-poll :poll="$findPoll" />
</x-app-layout>
after create-poll is created it should auto redirect to view-poll but WIP, upgrading emit/etc from Livewire v2 to v3.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.