Install
Requirements
- PHP 8.1+
- Laravel 10+
- Livewire 3.0+
- Tailwind v3 or Bootstrap 5
Installation
1. Via Composer
Require PowerGrid via Composer, run:
bash
composer require power-components/livewire-powergrid
composer require power-components/livewire-powergrid
2. Publish Config files
Publish PowerGrid configuration file. Run the following command:
bash
php artisan vendor:publish --tag=livewire-powergrid-config
php artisan vendor:publish --tag=livewire-powergrid-config
The configuration file will be available at: config/livewire-powergrid.php
.
3. Publish files (OPTIONAL)
WARNING
Skip this step if you don't need to customize views (not recommended) or language files.
To publish Views, run:
bash
php artisan vendor:publish --tag=livewire-powergrid-views
php artisan vendor:publish --tag=livewire-powergrid-views
To publish Language files, run:
bash
php artisan vendor:publish --tag=livewire-powergrid-lang
php artisan vendor:publish --tag=livewire-powergrid-lang