- Install Composer
- Clone this project:
git clone https://github.com/joucogi/hexagonal-architecture-php-example
- Move to the project folder:
cd hexagonal-architecture-php-example
- Install dependencies:
composer install
- Create a local environment file if needed:
cp .env .env.local
- Fill .env file
- Run command
php -S 127.0.0.1:8000 -t ./public
- Go to http://127.0.0.1:8000/?title=VideoTitleExample&id=1