Install โ
This section covers how to install PowerGrid Laravel in your Laravel Application.
Here you will find:
Requirements โ
- PHP 8.2+
- Laravel 10+
- Livewire 3.5.4+
- Tailwind v3 or Bootstrap 5
Installation โ
1. Install the package โ
First, require PowerGrid via Composer. Run the following command in your Laravel project.
bash
composer require power-components/livewire-powergrid
2. Publish Config files โ
Next, publish PowerGrid's config file. This file is used to configure PowerGrid, it will be available at: config/livewire-powergrid.php
.
Run the following command:
bash
php artisan vendor:publish --tag=livewire-powergrid-config
3. Configure PowerGrid โ
๐ All done!
Let's go on and configure PowerGrid!
Optional Steps โ
This subsection covers optional installations steps.
Publish Translations โ
To publish PowerGrid translation (language) files, run the following command:
bash
php artisan vendor:publish --tag=livewire-powergrid-lang