Introducing Sylius Stack
Often, we need to build some (Admin) UI for our Symfony-based applications. While there are quite a few options out there, like EasyAdmin or SonataAdminBundle, we decided against such an approach as it would introduce just another dependency to our software development stack.
Why not use what we already have in our portfolio? Maybe Sylius? Or specifically the ResourceBundle and the GridBundle plus a bit of glue code. That glue code for Sylius 1 is called Monofony.
What is Monofony?
I like to describe it in the following way:
Monofony === Sylius - E-Commerce Features
Monofony is a great stack and helped us to quickly build (Admin) UI applications without writing too much code or focusing too much on the infrastructure part of creating an (Admin) UI.
The only downside: Monofony requires using a skeleton app which makes it a bit hard to integrate into an existing or bare-bone Symfony project.
Sylius Stack?
When Sylius 2 was released in November of last year, the Sylius team moved even closer to the Symfony ecosystem, e.g., by introducing the Symfony Workflow component or Symfony UX to the Sylius ecosystem. Also, the team ensured Sylius's various building blocks were easily installable in any Symfony application.
All these components are located under the umbrella of Sylius Stack. The Sylius Stack contains the following tools for your Symfony project:
- AdminUi: Minimalist generic templates for your admin panels
- BootstrapAdminUi: Build your Bootstrap admin panels with Sylius and Symfony UX
- ResourceBundle: Resource management system, routing and CRUD operations
- GridBundle: Amazing grids with support of filters and custom fields integrated into Symfony
- TwigExtra: Additional Twig extensions for your Symfony projects
- TwigHooks: Composable Twig layouts
- UiTranslations: Basic UI translations
Each package can be installed individually in your Symfony application. There's no need to install everything, even though you might want to :)
The Sylius Stack documentation source can be found on GitHub and is updated frequently. For more information or a discussion with the core developers, join the Sylius Slack!