Skip to content

Latest commit

 

History

History
executable file
·
31 lines (21 loc) · 934 Bytes

File metadata and controls

executable file
·
31 lines (21 loc) · 934 Bytes

Hexagonal Architecture PHP example

Table of Contents

Environment setup

Needed tools

  1. Install Composer
  2. Clone this project: git clone https://github.com/joucogi/hexagonal-architecture-php-example
  3. Move to the project folder: cd hexagonal-architecture-php-example

Environment configuration

  1. Install dependencies: composer install
  2. Create a local environment file if needed: cp .env .env.local
  3. Fill .env file

Application execution

  1. Run command php -S 127.0.0.1:8000 -t ./public
  2. Go to http://127.0.0.1:8000/?title=VideoTitleExample&id=1