Creating and testing plugins using Test Application

Sylius PluginSkeleton is the official template designed to quickly start developing your own plugins for Sylius. It provides a structured and best-practice-driven boilerplate, making it easy to build, test, and publish plugins. The PluginSkeleton already includes the Test Application, so there’s no need to set it up manually - just clone the repository and start coding and testing right away.

What PluginSkeleton Provides

PluginSkeleton includes:

  • A predefined plugin directory structure

  • Composer dependencies already set up

  • Example code for implementation and specifications

  • Integrated support for Behat (Behavior-Driven Development)

  • Git configuration ready to use

  • A working plugin bundle class and example feature to guide your development

  • A fully configured Test Application for plugin testing

For detailed examples and to access the latest version, visit the official GitHub repository: Sylius PluginSkeleton on GitHub

To start using the Test Application with the PluginSkeleton, simply generate your plugin based on the PluginSkeleton and launch the project—everything is already configured for you.

The next step covers how to set up and run the project with the integrated Test Application

Last updated

Was this helpful?