Installation Guide
Development Environment
Basic
The easiest way to get started developing locally is to use either Laravel Herd, or Laragon. Reference Laravel's installation docs to learn more. It's recommended to use the Laravel Installer installation option for this type of environment.
Docker
If you want more flexibility and already have Docker knowledge, this starter kit provides a streamlined Docker development setup to get you up and running in no time. You'll want to use the Manual (Git) installation option if you don't want/have PHP, Composer, & Node installed on your machine.
Laravel Installer
Setup a new project using the Laravel installer:
laravel new your-project-name --using=connora/laravel-primevue-starter-kit
Composer
If you don't want to use the Laravel installer, you can use Composer directly:
composer create-project connora/laravel-primevue-starter-kit your-project-name
The Composer scripts should handle all the PHP/Laravel related setup, all you'll need to do is install the npm dependencies:
npm install
Manual (Git)
Clone directly from source repository:
git clone https://github.com/connorabbas/laravel-primevue-starter-kit.git your-project-name
git clone git@github.com:connorabbas/laravel-primevue-starter-kit.git your-project-name
Alternatively:
- Create a new repository using the public template (then clone)
- Create a new fork (then clone)
- Download the ZIP
Follow the Manual Setup steps.
Setup
Navigate to the project directory:
bashcd your-project-name
Copy the
.env.example
file to create a.env
file:bashcp .env.example .env
bashcopy .env.example .env
Install Composer dependencies:
bashcomposer install
Generate an application key:
bashphp artisan key:generate
Migrate database tables
bashphp artisan migrate
Install npm dependencies:
bashnpm install