{"repo":"yokai-php/sonata-workflow","free":true,"listed":false,"github":"https://github.com/yokai-php/sonata-workflow","clone":"git clone https://github.com/yokai-php/sonata-workflow.git","description":"Integrate Symfony workflow component in Sonata Admin","language":"PHP","stars":23,"topics":["symfony","workflow","sonataadminbundle"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Yokai Sonata Workflow ===================== Introduction ------------ This library add Symfony Workflow component integration within Sonata Admin. Features - add a menu dropdown to your admin detail pages on which you have buttons to apply available transitions - ship a controller to apply transition - allow to hook into the apply transition process to show an intermediate page Code - a Sonata Admin Extension : WorkflowExtension - a Controller trait : WorkflowControllerTrait - a Controller : WorkflowController Installation ------------ Configuration ------------- Let say that you have an entity named PullRequest that is under workflow and for which you have an admin. One extension for everything The extension is usable for many entities and with no configuration. You only need to create a service for it, configure the controller that will handle the transition action and configure on which admin you want it available. For instance : note : You may noticed that we also registered the controller Yokai\\SonataWorkflow\\Controller\\WorkflowController as a service. It is important, because it needs the workflow registry service to work. More specific extension per admin But the extension accepts many options if you wish to customize the behavior. For instance : What are these options ? - render actions : Admin action names on which the extension should render its menu (defaults to [show, edit] ) - workflow name : The name of the Workflow to handle (defaults to null ) - no transition ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yokai-php","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yokai-php/sonata-workflow/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}