codeception/module-symfony
Codeception module for Symfony framework
3.10.1
10M downloads/mo
#1525 most downloaded on Packagist
Codeception/module-symfony
What this package is like to depend on
Last release 1 months ago
10 Jul 2026
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 10 of 37 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
37 releases · first in 2019
6 releases in the last 12 months
see the full history below
Release timeline
37 releases · Oct 2019 to Jul 2026Releases
latest 37-
3.10.110 Jul 2026Release notes
Open source →What's Changed
- Restore doctrine.connections after kernel shutdown by @d-mitrofanov-v in #244
Full Changelog: 3.10.0...3.10.1
-
3.10.027 Jun 2026Release notes
Open source →Minor release featuring two new assertion trait groups, Symfony 8.1 test support, plus DX, performance, and bug fixes.
🚀 New Features
Messenger Assertions
Introduced
MessengerAssertionsTraitfor testing dispatched messages ([#241]):seeMessageDispatched()dontSeeMessageDispatched()seeDispatchedMessageCount()grabDispatchedMessageClasses()
Symfony-Inherited Assertions
Ported directly from Symfony's own test helpers ([#240]):
- Browser:
assertBrowserHistoryIsOnFirstPage(),assertBrowserHistoryIsNotOnFirstPage(),assertBrowserHistoryIsOnLastPage(),assertBrowserHistoryIsNotOnLastPage() - DomCrawler:
assertSelectorCount(),assertAnySelectorTextContains(),assertAnySelectorTextSame(),assertAnySelectorTextNotContains() - Mailer:
getMailerEvents(),getMailerMessages(),getMailerMessage() - Mime:
assertEmailAddressNotContains(),assertEmailSubjectContains(),assertEmailSubjectNotContains()
🔄 Changed
Mail/Mime Assertions Refactor
Assertions now operate on
RawMessageinstead ofEmailto support any sent message type ([#232]):grabLastSentEmail()return type widened from?Emailto?RawMessage.assertEmailAddressContains(),assertEmailHasHeader(),assertEmailNotHasHeader(),assertEmailHeaderSame(), andassertEmailHeaderNotSame()now accept?Messageinstead of?Email.
⚠️ Important Runtime Note:
The object returned bygrabLastSentEmail()remains anEmailinstance at runtime, but its declared type is now the widerRawMessage. If your tests rely onEmail-specific methods (like->getTo()or->getSubject()), you must explicitly narrow the type usinginstanceof Emailor a type cast. Alternatively, migrate to the newassertEmailSubjectContains()or header assertions where possible.Quality of Life & Performance
- Improved DX, type safety, and performance across all assertion traits by adding/tightening type hints and reducing redundant operations in hot paths. ([#235], [#234])
🐛 Fixed
- Doctrine: Fixed missing security context in Doctrine entity listeners after a kernel reboot. ([#236])
- Profiler: Fixed profiler service deprecation by switching to the non-deprecated internal service ID. ([#237])
🛠️ Maintenance
- Added Symfony 8.1 to the test matrix and included
symfony/messengeras an unchanged dev dependency. ([#243]) - Applied the 7.4
reset-formatspatch using GNU patch (fuzz) and pinnedcodeception/module-restto^3.4in the functional suite. ([#242])
🤝 New Contributors
Full Changelog: 3.9.1...3.10.0
-
3.9.223 Jun 2026Release notes
Open source →What's Changed
- Restore InnerBrowser navigation state for Codeception runs by @TavoNiievez in #238
Full Changelog: 3.9.1...3.9.2
-
3.9.114 Apr 2026 -
3.9.031 Mar 2026Release notes
Open source →What's Changed
- Allow Symfony 8 by @W0rma in #225
- Performance Optimizations and Code Audit by @TavoNiievez in 768cdc6
- Run module tests using PHPUnit by @TavoNiievez in c37d23e
Full Changelog: 3.8.0...3.9.0
-
3.8.023 Nov 2025Release notes
Open source →What's Changed
- Standardize to PHP 8.2 and PSR-4 by @TavoNiievez in #217
- Add notifier assertions trait by @d-mitrofanov-v in #220
- Simplify the module code by @TavoNiievez in #222
New Contributors
- @d-mitrofanov-v made their first contribution in #220
Full Changelog: 3.7.1...3.8.0
-
3.7.107 Aug 2025 -
3.7.007 Aug 2025 -
3.6.030 May 2025Release notes
Open source →What's Changed
- Document new Symfony assertions by @TavoNiievez in #208
- Fix parameter name in exception for case when Kernel has custom names… by @prophetz in #199
- Update MailerAssertionsTrait.php: Adding Mailpit by @ThomasLandauer in #204
- Remove PHP 8.1 Support by @TavoNiievez in #211
- Update ServicesAssertionsTrait.php: Adding another hint about private… by @ThomasLandauer in #210
- Replace kernel reboot with actual boot to reset services by @Seros in #209
New Contributors
Full Changelog: 3.5.1...3.6.0
-
3.5.120 Feb 2025Release notes
Open source →What's Changed
Support Symfony 7.2 (#203).
Added Symfony Translation assertions (#205):dontSeeFallbackTranslationsdontSeeMissingTranslationsgrabDefinedTranslationsCountseeAllTranslationsDefinedseeDefaultLocaleIsseeFallbackLocalesAreseeFallbackTranslationsCountLessThanseeMissingTranslationsCountLessThan
Added Symfony Logger assertion (
dontSeeDeprecations) (#206).Full Changelog: 3.5.0...3.5.1
-
3.5.014 Nov 2024Nothing published for this version
-
3.4.009 Jun 2024Nothing published for this version
-
3.3.218 Mar 2024Nothing published for this version
-
3.3.115 Mar 2024Nothing published for this version
-
3.3.011 Jan 2024Nothing published for this version
-
3.2.002 Jan 2024Nothing published for this version
-
3.1.106 Feb 2023Nothing published for this version
-
3.1.027 May 2022Nothing published for this version
-
3.0.016 Mar 2022Nothing published for this version
-
2.1.108 Dec 2021Nothing published for this version
-
2.1.021 Nov 2021Nothing published for this version
-
2.0.507 Jul 2021Nothing published for this version
-
2.0.407 Jun 2021Nothing published for this version
-
2.0.301 Jun 2021Nothing published for this version
-
2.0.215 Apr 2021Nothing published for this version
-
2.0.128 Mar 2021Nothing published for this version
-
2.0.010 Feb 2021Nothing published for this version
-
1.6.020 Dec 2020Nothing published for this version
-
1.5.011 Dec 2020Nothing published for this version
-
1.4.226 Nov 2020Nothing published for this version
-
1.4.125 Nov 2020Nothing published for this version
-
1.4.024 Nov 2020Nothing published for this version
-
1.3.016 Nov 2020Nothing published for this version
-
1.2.031 Oct 2020Nothing published for this version
-
1.1.128 Aug 2020Nothing published for this version
-
1.1.005 Apr 2020Nothing published for this version
-
1.0.011 Oct 2019Nothing published for this version