From e388999ff7e4088c9fa058d987111ff65a5d89d7 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 18 Feb 2026 16:33:27 +0100 Subject: [PATCH] update doc --- docs/API.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/API.md b/docs/API.md index dc504f3..32101ef 100644 --- a/docs/API.md +++ b/docs/API.md @@ -39,10 +39,11 @@ The route should be as follows: ```php #[Route('/api/v1/project', name: 'api_project')] //ofc, this is an example, please THINK and change the name ``` +Keep the same structure for the project tree, create an Api folder in the controller, a V1 folder and then create your controller. Here is a full example of a controller with the create method. ```php