Buckhill | PetShop

https://buckhill.co.uk

Requirements

The app requires the following extensions in order to work properly:

  • PHP >= 8.0
  • BCMath
  • Ctype
  • Fileinfo
  • JSON
  • Mbstring
  • OpenSSL
  • PDO
  • Tokenizer
  • XML

Installation

Follow the steps below to install the app quickly on your local machine.

Download Composer here.

Credentials for authentication after migration

email : test@test.com
password : password

Install dependencies:

composer install

Generate app key:

php artisan key:generate

Run database migrations and seeds:

php artisan migrate --seed

Generate secret asymmetric keys for JWT (they already exists):

ssh-keygen -t rsa -P "" -b 4096 -m PEM -f jwtRS256.key
ssh-keygen -e -m PEM -f jwtRS256.key > jwtRS256.key.pub

Run unit and feature tests:

composer test

LaraStan level 8

composer analyse

Start all Docker containers:

composer sail