Skip to content

Power-Components/powergrid-demo

Repository files navigation

PowerGrid Header

PowerGrid Demo

About

This repository is a catalog of code examples using Livewire PowerGrid v5 in a Laravel application.

The resources available here are aimed at helping the user get up and running as fast as possible, and also allow everyone to stay up-to-date with the latest PowerGrid features.

🌎 See all examples live here.

📚 Read the PowerGrid Documentation for more information about configuration and features.

📦 Visit the PowerGrid main repository to see the latest package features.

Stack

Get Started

Requirements

Clone

Clone this repository and enter the project's directory.

git clone https://github.com/Power-Components/powergrid-demo.git && cd powergrid-demo

Install

Install dependencies with Composer.

composer install

Compile the project assets.

npm install && npm run dev

Configure your .env

Copy the .env.example into .env.

cp .env.example .env 

Set up the database credentials in .env file.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3308
DB_DATABASE=**your database name**
DB_USERNAME=**your database user**
DB_PASSWORD=**your database password**

Generate the application key.

php artisan key:generate

Prepare your Database

Run the migrations and seeders.

php artisan migrate --seed

Access the PowerGrid Demo

Serve your project:

php artisan serve

Support

For questions, technical inquiries, bug reports and feature requests, please use the PowerGrid official GitHub Repository.



Notice of Non-Affiliation and Disclaimer: Livewire PowerGrid is not affiliated with, associated with, endorsed by, or in any way officially connected with the Laravel Livewire - copyright by Caleb Porzio. Laravel is a trademark of Taylor Otwell.