Skip to content

Install

This section covers how to install PowerGrid Laravel in your Laravel Application.

Here you will find:

Requirements

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.

These steps are only necessary if you wish to customize PowerGrid resources.

Publish Views

To publish Views, run the following command:

bash
php artisan vendor:publish --tag=livewire-powergrid-views

Publish Translations

To publish PowerGrid translation (language) files, run the following command:

bash
php artisan vendor:publish --tag=livewire-powergrid-lang

Created By Luan Freitas and @DanSysAnalyst