Files
crm_ecosplay/composer.json

136 lines
4.3 KiB
JSON
Raw Normal View History

2026-03-30 18:51:57 +02:00
{
"type": "project",
"license": "proprietary",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.4",
"ext-ctype": "*",
"ext-iconv": "*",
2026-04-01 15:42:52 +02:00
"doctrine/doctrine-bundle": "^3.2.2",
2026-03-30 18:52:03 +02:00
"doctrine/doctrine-migrations-bundle": "^4.0",
2026-04-01 15:42:52 +02:00
"doctrine/orm": "^3.6.2",
"docusealco/docuseal-php": "^1.0",
"dompdf/dompdf": ">=3.1.5",
"endroid/qr-code-bundle": ">=6.1",
"knplabs/knp-paginator-bundle": "^6.10",
"knpuniversity/oauth2-client-bundle": "^2.20.2",
"league/flysystem-bundle": "^3.6.2",
"liip/imagine-bundle": "^2.17.1",
"meilisearch/meilisearch-php": "^1.16",
"mobiledetect/mobiledetectlib": ">=4.8.10",
"nelmio/security-bundle": "^3.9",
"ovh/ovh": "^3.5",
2026-04-01 15:42:52 +02:00
"phpdocumentor/reflection-docblock": "^6.0.3",
"phpstan/phpdoc-parser": "^2.3.2",
"scheb/2fa-backup-code": "^8.5",
"scheb/2fa-bundle": "^8.5",
"scheb/2fa-email": "^8.5",
"scheb/2fa-google-authenticator": "^8.5",
feat: gestion complete Devis + Avis de paiement + DocuSeal signature + mails Devis : - Entity DevisLine (pos, title, description, priceHt) liee a Devis (OneToMany cascade/orphanRemoval) - Champs ajoutes sur Devis : customer (ManyToOne), submissionId, state machine (created/send/accepted/refused/cancel), raisonMessage, totaux HT/TVA/TTC, updatedAt, setUpdatedAt public - Relation Devis <-> Advert changee de ManyToOne a OneToOne nullable - Vich Attribute (migration Annotation -> Attribute) pour unsignedPdf/signedPdf/auditPdf - DevisController CRUD complet : create (form repeater lignes + boutons rapides TarificationService), edit, cancel (libere OrderNumber), generate-pdf, send, resend, create-advert, events - DevisPdf (FPDF/FPDI) : header legacy (logo, num, date, client), body lignes, summary totaux, footer SITECONSEIL + pagination, champ signature DocuSeal sur page devis + derniere page CGV - OrderNumberService : preview() et generate() reutilisent les OrderNumber non utilises (isUsed=false) en priorite - OrderNumber::markAsUnused() ajoute DocuSeal integration devis : - DocuSealService : sendDevisForSignature (avec completed_redirect_url), resendDevisSignature (archive ancienne submission), getSubmitterSlug, downloadSignedDevis (sauvegarde via Vich UploadedFile test=true) - WebhookDocuSealController : dispatch par doc_type devis/attestation, handleDevisEvent (form.completed -> STATE_ACCEPTED + download PDF signe/audit, form.declined -> STATE_REFUSED + raison) - DocusealEvent entity pour tracer form.viewed/started/completed/declined en temps reel - Page evenements admin /admin/devis/{id}/events avec badges et payload JSON Signature client : - DevisProcessController : page publique /devis/process/{id}/{hmac} securisee par HMAC, boutons Signer (redirect DocuSeal) / Refuser (motif optionnel) - Pages confirmation : signed.html.twig (merci + recap) et refused.html.twig (confirmation refus + motif) - Nelmio whitelist : signature.esy-web.dev + signature.siteconseil.fr Avis de paiement : - Entity AdvertLine (pos, title, description, priceHt) liee a Advert - Advert refactorise : customer, state, totaux, raisonMessage, submissionId, advertFile (Vich mapping advert_pdf), lines collection, updatedAt - AdvertController : generate-pdf, send (mail + PJ + lien paiement), resend (rappel), cancel (delie devis, libere OrderNumber), search Meilisearch - AdvertPdf (FPDF/FPDI) : QR code Endroid pointant vers /order/{numOrder}, texte "Scannez pour payer" - OrderPaymentController : page publique /order/{numOrder} avec detail prestations, totaux, options paiement (placeholder) - Creation auto depuis devis signe : copie client, totaux, lignes, meme OrderNumber Meilisearch : - Index customer_devis et customer_advert avec searchable (numOrder, customerName, customerEmail, state) et filterable (customerId, state) - CRUD indexation sur chaque action (create, edit, send, cancel, create-advert) - Recherche AJAX dans tabs Devis et Avis avec debounce + dropdown glassmorphism - Sync admin : boutons syncDevis / syncAdverts + compteurs dans /admin/sync Emails : - MailerService : VCF auto (fiche contact SARL SITECONSEIL) en PJ sur tous les mails, bloc HTML pieces jointes injecte automatiquement (exclut .asc/.p7z/smime) avec icone trombone + taille fichier - Templates : devis_to_sign, devis_signed_client/admin (PJ signed+audit), devis_refused_client/admin, advert_send (PJ + bouton paiement), ndd_expiration - TestMailCommand : option --force-dsn pour envoyer via un DSN SMTP specifique (test prod depuis dev) Commande NDD : - app:ndd:check : verifie expiration domaines <= 30j, envoie mail groupe a monitor@siteconseil.fr - Cron quotidien 8h (docker + ansible) Divers : - Titles templates : CRM SITECONSEIL -> SARL SITECONSEIL (52 fichiers) - VAULT_URL dev = https://kms.esy-web.dev (comme prod) - app.js : initDevisLines (repeater + drag & drop), initTabSearch, toggle refus devis - app.scss : styles drag & drop - setasign/fpdi-fpdf installe pour fusion PDF - 5 migrations Doctrine Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 09:44:35 +02:00
"setasign/fpdi-fpdf": "^2.3",
2026-04-01 15:42:52 +02:00
"spomky-labs/pwa-bundle": "1.5.7",
"stevenmaguire/oauth2-keycloak": "^6.1.1",
"stripe/stripe-php": ">=20",
"symfony/amazon-mailer": "8.0.*",
2026-03-30 18:52:03 +02:00
"symfony/asset": "8.0.*",
2026-03-30 18:51:57 +02:00
"symfony/console": "8.0.*",
2026-03-30 18:52:03 +02:00
"symfony/doctrine-messenger": "8.0.*",
2026-03-30 18:51:57 +02:00
"symfony/dotenv": "8.0.*",
2026-03-30 18:52:03 +02:00
"symfony/expression-language": "8.0.*",
2026-04-01 15:42:52 +02:00
"symfony/flex": "^2.10",
2026-03-30 18:52:03 +02:00
"symfony/form": "8.0.*",
2026-03-30 18:51:57 +02:00
"symfony/framework-bundle": "8.0.*",
2026-03-30 18:52:03 +02:00
"symfony/http-client": "8.0.*",
"symfony/intl": "8.0.*",
"symfony/mailer": "8.0.*",
"symfony/mime": "8.0.*",
2026-04-01 15:42:52 +02:00
"symfony/monolog-bundle": "^3.0|^4.0.1",
2026-03-30 18:52:03 +02:00
"symfony/notifier": "8.0.*",
"symfony/process": "8.0.*",
"symfony/property-access": "8.0.*",
"symfony/property-info": "8.0.*",
2026-04-01 15:42:52 +02:00
"symfony/rate-limiter": "8.0.*",
"symfony/redis-messenger": "8.0.*",
2026-03-30 18:51:57 +02:00
"symfony/runtime": "8.0.*",
2026-03-30 18:52:03 +02:00
"symfony/security-bundle": "8.0.*",
"symfony/serializer": "8.0.*",
"symfony/string": "8.0.*",
"symfony/translation": "8.0.*",
"symfony/twig-bundle": "8.0.*",
"symfony/uid": "8.0.*",
2026-03-30 18:52:03 +02:00
"symfony/validator": "8.0.*",
"symfony/web-link": "8.0.*",
"symfony/yaml": "8.0.*",
2026-04-01 15:42:52 +02:00
"twig/cssinliner-extra": "^3.24",
"twig/extra-bundle": "^2.12|^3.24",
"twig/inky-extra": "^3.24",
"twig/twig": "^2.12|^3.24",
"vich/uploader-bundle": "^2.9.2"
2026-03-30 18:51:57 +02:00
},
"config": {
"allow-plugins": {
"php-http/discovery": true,
"symfony/flex": true,
2026-04-01 15:42:52 +02:00
"symfony/runtime": true,
"endroid/installer": true
2026-03-30 18:51:57 +02:00
},
"bump-after-update": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php83": "*",
"symfony/polyfill-php84": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
2026-03-30 18:52:03 +02:00
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"importmap:install": "symfony-cmd"
2026-03-30 18:51:57 +02:00
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "8.0.*"
}
2026-03-30 18:52:03 +02:00
},
"require-dev": {
2026-04-01 15:42:52 +02:00
"friendsofphp/php-cs-fixer": "^3.94.2",
"phpstan/phpstan": "^2.1.45",
"phpunit/phpunit": "^13.0.5",
2026-03-30 18:52:03 +02:00
"symfony/browser-kit": "8.0.*",
"symfony/css-selector": "8.0.*",
"symfony/debug-bundle": "8.0.*",
2026-04-01 15:42:52 +02:00
"symfony/maker-bundle": "^1.67",
2026-03-30 18:52:03 +02:00
"symfony/stopwatch": "8.0.*",
"symfony/web-profiler-bundle": "8.0.*"
2026-03-30 18:51:57 +02:00
}
}