Skip to content

The Complete Laravel Starter package offers a sample project that demonstrates how simple it is to create compelling web pages in Prepr, including personalization and A/B testing capabilities.

Notifications You must be signed in to change notification settings

preprio/laravel-complete-starter

Repository files navigation

Laravel Complete Starter

Look at the Complete guide to Laravel and Prepr personalization to learn more.

Add the environment file

Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:

cp .env.example .env

Update the environment file

In the .env file replace with the Prepr endpoint from your environment with demo content.

Setup

Make sure to install the dependencies:

composer install
npm install
npm run dev

Generate App Key

php artisan key:generate

Create Database File

Create the SQLite database file used in this project. If you'd like to use a different database, check out the Laravel docs for more details.

php artisan migrate

Development Server

Start the development server on http://localhost:8000

php artisan serve

Production

Check out the deployment documentation for more information.

About

The Complete Laravel Starter package offers a sample project that demonstrates how simple it is to create compelling web pages in Prepr, including personalization and A/B testing capabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages