all publishers

gabrielmustiere

@gabrielmustiere source repo

45 published skills

  1. ▌
    Form · gabrielmustiere
    Form
    1 repo stars
  2. ▌
    Grid · gabrielmustiere
    Grid
    1 repo stars
  3. ▌
    Menu · gabrielmustiere
    Menu
    1 repo stars
  4. ▌
    Email · gabrielmustiere
    Personnalise ou ajoute un e-mail Sylius via Sender/EmailManager, override de templates Twig par canal, e-mail custom via SyliusMailerBundle. Déclenche sur "envoyer un mail Sylius", "personnaliser l'email de commande", "ajouter un email custom".
    1 repo stars
  5. ▌
    Model · gabrielmustiere
    Étend un modèle Sylius (Customer, Country, ShippingMethod…) — sous-classe `Base*`, déclaration sous `sylius_<bundle>.resources.<r>.classes.model`, migration. Déclenche sur "ajouter un champ sur Customer", "étendre Country", "modèle Sylius custom".
    1 repo stars
  6. ▌
    Order · gabrielmustiere
    Order
    1 repo stars
  7. ▌
    Coupon · gabrielmustiere
    Crée, applique ou génère en masse des codes promo Sylius (PromotionCoupon) saisis par le client — expirationDate, usageLimit, bulk via PromotionCouponGenerator. La Promotion (`couponBased=true`) d'abord → `/sylius:cart-promotion`.
    1 repo stars
  8. ▌
    Styles · gabrielmustiere
    Customise les styles Sylius 2.x (admin Tabler / shop Bootstrap) — surcharge les variables CSS (`--tblr-*`, `--bs-*`) via SCSS, sans patcher vendor. Déclenche sur "changer la couleur admin Sylius", "thème Sylius shop", "surcharger les styles".
    1 repo stars
  9. ▌
    Dynamic · gabrielmustiere
    Customise un élément dynamique Sylius 2.1+ via Stimulus/UX — `*_controller.js`, `stimulus_controller()` Twig, `controllers.json`. Déclenche sur "ajouter du JS Sylius", "controller Stimulus Sylius", "remplacer un controller natif".
    1 repo stars
  10. ▌
    Fixtures · gabrielmustiere
    Customise les fixtures Sylius — suite `default` dans `sylius_fixtures.yaml`, `ExampleFactory` + `Fixture` pour un champ custom. Champ absent → `/sylius:model`. Déclenche sur "ajouter une fixture Sylius", "customiser données de test", "seed Sylius".
    1 repo stars
  11. ▌
    Template · gabrielmustiere
    Customise un template Sylius (shop/admin) via Twig Hooks (`sylius_twig_hooks`) en priorité, override `templates/bundles/` en fallback. Déclenche sur "modifier un template Sylius", "ajouter un bloc dans le checkout", "customiser l'admin Sylius".
    1 repo stars
  12. ▌
    Article · gabrielmustiere
    Rédige un article depuis le `plan.md` sous `docs/story/a-<NNN>-<slug>/` — fichier dans la collection détectée (Astro, Hugo, Jekyll, MDX), schéma + traduction. Déclenche sur "rédige depuis ce plan", "écris l'article", "draft l'article".
    1 repo stars
  13. ▌
    Adjustment · gabrielmustiere
    Ajoute un ajustement MANUEL Sylius (remise SAV, frais custom) sur Order, OrderItem ou OrderItemUnit via AdjustmentInterface, `lock()` pour survivre aux recalculs. Pour une remise automatique avec rules/actions → `/sylius:cart-promotion`.
    1 repo stars
  14. ▌
    Validation · gabrielmustiere
    Customise la validation d'un resource Sylius — `config/validator/<Model>.yaml` + groupe custom via `sylius.form.type.*.validation_groups`. Champ absent → `/sylius:model`. Déclenche sur "ajouter une contrainte Sylius", "valider un champ custom".
    1 repo stars
  15. ▌
    Form Type · gabrielmustiere
    Conçoit une classe FormType Symfony — AbstractType, buildForm, configureOptions, types de champs (ChoiceType, EntityType…). Déclenche sur "créer FormType", "buildForm", "data_class", "EntityType". Impose make:form.
    1 repo stars
  16. ▌
    Translation · gabrielmustiere
    Customise les libellés Sylius via `translations/messages.<locale>.yaml` (ou `validators`, `flashes`), priorité par domaine/locale. Message de contrainte → `/sylius:validation`. Déclenche sur "traduire un libellé Sylius", "changer un texte".
    1 repo stars
  17. ▌
    Form Handle · gabrielmustiere
    Traite la soumission d'un formulaire Symfony — createForm, handleRequest, isSubmitted/isValid, PRG. Déclenche sur "traiter formulaire", "handleRequest", "isSubmitted && isValid", "redirection après form". Impose délégation métier et redirection.
    1 repo stars
  18. ▌
    Form Render · gabrielmustiere
    Rend un formulaire Symfony dans Twig — form_row, form_widget, form_errors, thèmes (bootstrap_5, tailwind). Déclenche sur "rendu form Twig", "form_row", "form_theme". Impose thème global et form_row.
    1 repo stars
  19. ▌
    State Machine · gabrielmustiere
    Modifie une state machine Sylius 2.x (Symfony Workflow) — ajoute/retire un state/transition sur Order, Shipment, Payment ou Checkout, branche un listener `workflow.*.completed.*`. Piloter un order existant → `/sylius:order`.
    1 repo stars
  20. ▌
    Event Listen · gabrielmustiere
    Crée un Event Listener Symfony — `#[AsEventListener]` ou tag `kernel.event_listener`, `__invoke()`, priorité. Déclenche sur "event listener", "AsEventListener", "écouter événement", "onKernelRequest", "onKernelException".
    1 repo stars
  21. ▌
    Service Tags · gabrielmustiere
    Tags container Symfony — `#[AutoconfigureTag]`, `#[AsTaggedItem]`, `!tagged_iterator`, `!tagged_locator`, `#[AsDecorator]`, compiler pass. Déclenche sur "tagger service", "tagged_iterator", "AsDecorator", "strategy Symfony".
    1 repo stars
  22. ▌
    Service Wire · gabrielmustiere
    Câble les arguments d'un service Symfony — scalaires, `%env(...)%`, `#[Autowire]`, bindings, alias, `#[Target]`. Déclenche sur "Cannot autowire", "injecter paramètre", "#[Autowire]", "%env()%", "alias service".
    1 repo stars
  23. ▌
    Cart Promotion · gabrielmustiere
    Cart Promotion
    1 repo stars
  24. ▌
    Form Advanced · gabrielmustiere
    Scénarios avancés Symfony forms — DataTransformer, FormEvents, CollectionType, FileType, CSRF, FormTypeExtension. Déclenche sur "DataTransformer", "FormEvents", "form dynamique", "CollectionType", "FileType", "VichUploader".
    1 repo stars
  25. ▌
    Object Mapper · gabrielmustiere
    Mappe un objet PHP vers un autre avec Symfony ObjectMapper (7.3+) —
    1 repo stars
  26. ▌
    Article Plan · gabrielmustiere
    Cadrage d'un article (sujet, thèse, audience, chapitrage, frontmatter). Détecte la stack (Astro, Hugo, Jekyll, MDX). Produit `docs/story/a-<NNN>-<slug>/plan.md`. Déclenche sur "idée d'article", "plan d'article", "j'écris sur…".
    1 repo stars
  27. ▌
    Doctrine Query · gabrielmustiere
    Écrit ou optimise une requête Doctrine (find/findBy, DQL, QueryBuilder, DBAL) — Symfony/Sylius. Déclenche sur "requête Doctrine", "repository custom", "QueryBuilder", "DQL", "JOIN fetch", "N+1", "optimiser requête".
    1 repo stars
  28. ▌
    Event Dispatch · gabrielmustiere
    Définit et dispatche un événement Symfony custom — classe Event, EventDispatcherInterface, GenericEvent, stopPropagation. Déclenche sur "dispatcher événement", "créer event Symfony", "hook applicatif", "bus événements".
    1 repo stars
  29. ▌
    Routing Define · gabrielmustiere
    Définit le routing Symfony —
    1 repo stars
  30. ▌
    Serializer Use · gabrielmustiere
    Conçoit la (dé)sérialisation Symfony — SerializerInterface, normalizers/encoders (json/xml/csv), attributs
    1 repo stars
  31. ▌
    Service Define · gabrielmustiere
    Déclare un service Symfony/Sylius — autowiring, autoconfiguration, `resource`, privé/public, env (`#[When]`). Déclenche sur "créer service", "enregistrer service", "autowire", "services.yaml". Impose injection constructeur.
    1 repo stars
  32. ▌
    Validation Use · gabrielmustiere
    Utilise `ValidatorInterface` Symfony hors form — DTO, payload JSON, `ConstraintViolationList`, 422 Problem Details. Déclenche sur "ValidatorInterface", "valider un DTO", "valider sans form". Impose service injecté.
    1 repo stars
  33. ▌
    Doctrine Entity · gabrielmustiere
    Crée ou modifie une entité Doctrine (Symfony/Sylius) — ORM, champs, relations, types custom. Déclenche sur "créer entité", "relation ManyToOne", "UniqueEntity", "mapping Doctrine". Impose make:entity et snake_case BDD.
    1 repo stars
  34. ▌
    Event Subscribe · gabrielmustiere
    Crée un Event Subscriber Symfony — `EventSubscriberInterface`, `getSubscribedEvents()`, multi-callbacks, priorités. Déclenche sur "event subscriber", "getSubscribedEvents", "KernelEvents", "before/after filter".
    1 repo stars
  35. ▌
    Messenger Async · gabrielmustiere
    Conçoit un flux Symfony Messenger — message + handler
    1 repo stars
  36. ▌
    Article Rework · gabrielmustiere
    Retouche chirurgicale d'une portion d'article publié (chapitre, section, paragraphe). Lit le `plan.md` associé, respecte la voix, propage à la traduction. Déclenche sur "retravaille cette section", "réécris ce chapitre", "resserre ce paragraphe".
    1 repo stars
  37. ▌
    HTTP Client Test · gabrielmustiere
    Teste un service HttpClientInterface — MockHttpClient, MockResponse, JsonMockResponse, HAR. Déclenche sur "tester HttpClient", "MockHttpClient", "JsonMockResponse". Impose le mock, jamais d'appel réseau réel.
    1 repo stars
  38. ▌
    Translation Entity · gabrielmustiere
    Translation Entity
    1 repo stars
  39. ▌
    Controller Action · gabrielmustiere
    Écrit un contrôleur Symfony — AbstractController, helpers (render/json/redirectToRoute), mappage (#[MapQueryParameter],
    1 repo stars
  40. ▌
    HTTP Client Async · gabrielmustiere
    Orchestre symfony/http-client — stream() multiplexing, Retryable/Caching/Throttling HttpClient, SSE. Déclenche sur "requêtes parallèles", "HttpClient concurrent", "retry HTTP". Impose fan-out + stream() et retry par decorator.
    1 repo stars
  41. ▌
    Validation Groups · gabrielmustiere
    Groupes de validation Symfony — `GroupSequence`, validation conditionnelle (`When`, `Expression`, `AtLeastOneOf`). Déclenche sur "groupes validation", "validation_groups", "GroupSequence". Impose partage explicite forms/validator.
    1 repo stars
  42. ▌
    Doctrine Migration · gabrielmustiere
    Génère, relit ou corrige une migration Doctrine (Symfony/Sylius). Déclenche sur "make:migration", "migrations:migrate", "ajouter colonne", "NOT NULL table existante", "down()", "migration cassée". Impose make:migration et vérifie réversibilité.
    1 repo stars
  43. ▌
    HTTP Client Request · gabrielmustiere
    Construit une requête HTTP (symfony/http-client) — HttpClientInterface, scoped_clients, options (json, auth_bearer, timeout). Déclenche sur "appeler API", "HttpClient", "scoped client". Impose un scoped client par API.
    1 repo stars
  44. ▌
    HTTP Client Response · gabrielmustiere
    Consomme une réponse symfony/http-client — getContent, toArray, exceptions Client/Server/Transport. Déclenche sur "lire réponse HttpClient", "toArray", "getContent false". Impose try/catch des 3 exceptions.
    1 repo stars
  45. ▌
    Validation Constraints · gabrielmustiere
    Pose des contraintes Symfony via `#[Assert\*]` — entité/DTO/classe, catalogue (NotBlank, Email, UniqueEntity, Callback). Déclenche sur "contrainte Symfony", "Assert", "NotBlank", "UniqueEntity". Impose attributs PHP et auto-mapping.
    1 repo stars