Prerequisites
- PHP: 7.2 or higher.
- Composer: Dependency manager for PHP.
Step-by-Step Installation
1. Require Apivalk via Composer
Run the following command in your project root:2. Project Structure (Recommended)
While Apivalk is flexible, we recommend the following structure for your API:3. Autoloading
Ensure yourcomposer.json is configured to autoload your classes. For example:
composer.json, run: