Download the PHP package yannickgranger/symfony-extension without Composer
On this page you can find all versions of the php package yannickgranger/symfony-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yannickgranger/symfony-extension
More information about yannickgranger/symfony-extension
Files in yannickgranger/symfony-extension
Package symfony-extension
Short Description Integrates Behat with Symfony. Supports Symfony 6.4/7.x/8.x and Behat 3/4. Features lazy driver kernel and improved architecture.
License MIT
Homepage https://github.com/yannickgranger/SymfonyExtension
Informations about the package symfony-extension
SymfonyExtension
Fork Notice: This is a maintained fork of FriendsOfBehat/SymfonyExtension with improved architecture and extended version support.
Fork Notice: This is a maintained fork of FriendsOfBehat/SymfonyExtension with improved architecture and extended version support.
This Behat extension provides an integration with Symfony (^6.4, ^7.0, and ^8.0) and Mink driver for Symfony applications. Also supports Behat 4.
It allows for:
-
defining your contexts as regular Symfony services
-
autowiring and autoconfiguring your contexts
- testing your Symfony application without having to set up a server
What's Different in This Fork
| Feature | Original | This Fork |
|---|---|---|
| Symfony support | 6.4, 7.0 | 6.4, 7.0, 8.0 |
| Behat support | 3.x | 3.x, 4.x |
| Kernel management | Dual-kernel, tightly coupled | KernelManager with lazy driver kernel |
| Driver kernel | Always created | Lazy-loaded (only when Mink used) |
Architecture Improvements
- KernelManager: Centralized lifecycle management for context and driver kernels
- Lazy driver kernel: Only instantiated when Mink makes first HTTP request
- Cleaner separation: Explicit
setUp()/tearDown()lifecycle hooks
Installation
Migration from FriendsOfBehat/SymfonyExtension
This is a drop-in replacement. No configuration changes needed:
Your existing behat.yml configuration will work as-is.
Documentation
- Installation
- Usage
- Mink integration
- Behat/Symfony2Extension differences
- Configuration reference
For a bit of backstory, take a look at the SymfonyExtension v2.0.0 release blogpost.
Versioning and release cycle
This package follows semantic versioning.
Public API is defined as configuration and behaviour defined in form of testable scenarios in the features directory.
This means once your application is configured to use Behat with SymfonyExtension,
it shall continue to work flawlessly within the same major version.
License
This extension is completely free and released under permissive MIT license.
Authors
Originally created by Kamil Kokot. See the list of all contributors.
Fork maintained by Yannick Granger.
All versions of symfony-extension with dependencies
behat/behat Version ^3.22 || ^4.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0