feat(CustomerController): Ajoute la page de création de client et API interne.

Ajoute la route pour la page de création de client et une API pour l'auto-complétion des informations via le Siret.
This commit is contained in:
Serreau Jovann
2025-07-23 10:49:43 +02:00
parent c50f3fd14a
commit 1edce18a6b
7 changed files with 172 additions and 3 deletions

105
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d68cad60163f361459326f5402d1f396",
"content-hash": "eeb180229a285394dea5fa7492f8a1ce",
"packages": [
{
"name": "aws/aws-crt-php",
@@ -3934,6 +3934,109 @@
},
"time": "2024-12-12T09:38:23+00:00"
},
{
"name": "lufiipe/insee-sierene",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/lufiipe/insee-sierene.git",
"reference": "f57e66770c379cb66a224984bfe57e303b02683f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/lufiipe/insee-sierene/zipball/f57e66770c379cb66a224984bfe57e303b02683f",
"reference": "f57e66770c379cb66a224984bfe57e303b02683f",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^7.0",
"lufiipe/simplevent": "^1.0",
"php": "^7.4|^8.0"
},
"require-dev": {
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.0|^10.0|^11.0"
},
"type": "library",
"autoload": {
"psr-4": {
"LuFiipe\\InseeSierene\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Luis-Filipe ANTUNES",
"email": "lf.antunes.dasilva@gmail.com"
}
],
"description": "A PHP package for retrieving company information from the INSEE Sirene API",
"keywords": [
"INSEE",
"Siren",
"Siret",
"php",
"sirene"
],
"support": {
"issues": "https://github.com/lufiipe/insee-sierene/issues",
"source": "https://github.com/lufiipe/insee-sierene/tree/1.0.0"
},
"time": "2025-06-26T08:05:48+00:00"
},
{
"name": "lufiipe/simplevent",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/lufiipe/simplevent.git",
"reference": "b9b6899cf8ee9220cd3c64e1b1d57ca7ffbfcd95"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/lufiipe/simplevent/zipball/b9b6899cf8ee9220cd3c64e1b1d57ca7ffbfcd95",
"reference": "b9b6899cf8ee9220cd3c64e1b1d57ca7ffbfcd95",
"shasum": ""
},
"require": {
"php": "^7.4|^8.0"
},
"require-dev": {
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^9.0|^10.0|^11.0"
},
"type": "library",
"autoload": {
"psr-4": {
"LuFiipe\\SimplEvent\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Luis-Filipe ANTUNES",
"email": "lf.antunes.dasilva@gmail.com"
}
],
"description": "Simple PHP event listener library",
"keywords": [
"emitter",
"event",
"listener",
"php"
],
"support": {
"issues": "https://github.com/lufiipe/simplevent/issues",
"source": "https://github.com/lufiipe/simplevent/tree/1.0.0"
},
"time": "2025-06-26T07:49:55+00:00"
},
{
"name": "meyfa/php-svg",
"version": "v0.9.1",