SlideShare a Scribd company logo
SensioLabs
Migrating
to Symfony 3.0
by @nicolasgrekas
Migrating to Symfony 3.0
Let me tell you
how Symfony 3.0
was born
components
framework
+=
Highest
quality
processes
=
Releasing
Symfony Lifecycle
Release
end of
support
+8 months +14 months +36 months +48 months
end of security
support
end of security
support
end of
support
Standard Releases
(2.4, 2.5, 2.6, 3.0)
LTS Releases
(2.3, 2.7, 2.8)
Semantic Versioning
http://semver.org
Major
Minor
Patch
•
o
o
o
•
o
o
•
o
o
One monolithic
repo.
+
46 synchronized
components
=
Backward
Compatibility
The Backward Compatibility Promise
http://symfony.com/bc
Guidelines for Backward Compatibility
Example: Moving the
FlattenException class
Example: Moving the
FlattenException class
Example: Moving the
FlattenException class
Example: Moving the
FlattenException class
Patching process
•
•
•
Contribution Workflow
Patching Symfony 2.3 LTS
Continuous integration
Travis Matrix
Appveyor for Windows
What’s new
in Symfony 3?
Well... Nothing!
Fabien already
told you
All new features are
already included in
Symfony 2.8
What’s new in Symfony 3?
The Symfony 3.0 Architecture
•
•
•
•
•
What’s new
in Symfony 3?
The
Continuous
Upgrade
Path
The Symfony Core Team Wish!
Continuous Migration Path Before 2.7
•
•
•
•
•
•
• 
Continuous Migration Path Since 2.7
•
•
•
•
•
•
•
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
It has to work
for Symfony itself,
component by
component
Cross Versions Dependencies
•
o
o ~2.x|~3.0.0
The @legacy PHPUnit Group
Cross Versions Dependencies
•
o
o ~2.8|~3.0
Prefer Lowest Requirements
Sustainability
of the CUP promise?
•
•
•
•
What’s new
in Symfony 3?
Much
Stricter
Quality
Processes
What about the
Symfony ecosystem?
Use the Symfony PHPUnit Bridge
Allow Symfony ~3.0 Dependencies
Their turn to deprecate
Their turn to deprecate
What’s new
in Symfony 3?
A Process
to Remove
Legacy Code
Now your turn!
•
•
•
•
o
o
o
•
•
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Now your turn!
SensioLabs
Merci !
@nicolasgrekas
Ad

More Related Content

Viewers also liked (20)

PDF
Behat 3.0 meetup (March)
Konstantin Kudryashov
102 slides7.5K views
PDF
Symfony Debug & VarDumper
nicolas.grekas
15 slides6.7K views
PDF
Keeping the frontend under control with Symfony and Webpack
Ignacio Martín
90 slides6.4K views
PDF
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
Javier Eguiluz
204 slides23.7K views
PDF
Finally, Professional Frontend Dev with ReactJS, WebPack & Symfony (Symfony C...
Ryan Weaver
103 slides13.8K views
PDF
Twig tips and tricks
Javier Eguiluz
185 slides199.6K views
PDF
Le Profiling d'applications PHP - Blackfire.io
nicolas.grekas
25 slides3.9K views
PDF
Techniques d'accélération des pages web
Jean-Pierre Vincent
84 slides3.9K views
ODP
Elastic Searching With PHP
Lea Hänsenberger
45 slides4.6K views
PDF
Diving deep into twig
Matthias Noback
66 slides7K views
PDF
Get Soaked - An In Depth Look At PHP Streams
Davey Shafik
43 slides12.1K views
ODP
PHP5.5 is Here
julien pauli
43 slides13.6K views
PDF
Automation using-phing
Rajat Pandit
32 slides4.1K views
PPTX
Electrify your code with PHP Generators
Mark Baker
49 slides3.7K views
PDF
The quest for global design principles (SymfonyLive Berlin 2015)
Matthias Noback
98 slides3.8K views
PDF
Top tips my_sql_performance
afup Paris
16 slides3.2K views
PDF
Mocking Demystified
Marcello Duarte
93 slides18.1K views
PDF
Why elasticsearch rocks!
tlrx
37 slides4.4K views
PDF
Understanding Craftsmanship SwanseaCon2015
Marcello Duarte
59 slides2.4K views
PDF
Si le tdd est mort alors pratiquons une autopsie mix-it 2015
Bruno Boucard
34 slides3.8K views
Behat 3.0 meetup (March)
Konstantin Kudryashov
102 slides7.5K views
Symfony Debug & VarDumper
nicolas.grekas
15 slides6.7K views
Keeping the frontend under control with Symfony and Webpack
Ignacio Martín
90 slides6.4K views
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
Javier Eguiluz
204 slides23.7K views
Finally, Professional Frontend Dev with ReactJS, WebPack & Symfony (Symfony C...
Ryan Weaver
103 slides13.8K views
Twig tips and tricks
Javier Eguiluz
185 slides199.6K views
Le Profiling d'applications PHP - Blackfire.io
nicolas.grekas
25 slides3.9K views
Techniques d'accélération des pages web
Jean-Pierre Vincent
84 slides3.9K views
Elastic Searching With PHP
Lea Hänsenberger
45 slides4.6K views
Diving deep into twig
Matthias Noback
66 slides7K views
Get Soaked - An In Depth Look At PHP Streams
Davey Shafik
43 slides12.1K views
PHP5.5 is Here
julien pauli
43 slides13.6K views
Automation using-phing
Rajat Pandit
32 slides4.1K views
Electrify your code with PHP Generators
Mark Baker
49 slides3.7K views
The quest for global design principles (SymfonyLive Berlin 2015)
Matthias Noback
98 slides3.8K views
Top tips my_sql_performance
afup Paris
16 slides3.2K views
Mocking Demystified
Marcello Duarte
93 slides18.1K views
Why elasticsearch rocks!
tlrx
37 slides4.4K views
Understanding Craftsmanship SwanseaCon2015
Marcello Duarte
59 slides2.4K views
Si le tdd est mort alors pratiquons une autopsie mix-it 2015
Bruno Boucard
34 slides3.8K views

Similar to Migrating to Symfony 3.0 (20)

PPTX
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
The University of Queensland
31 slides1.7K views
PPTX
Subversion
thebdot1
25 slides842 views
PPTX
Version control
Saman Najafi
50 slides292 views
PDF
Create a PHP Library the right way
Christian Varela
177 slides1.4K views
PDF
Git your life for fun & profit
Geeks Anonymes
49 slides915 views
PDF
Let the contribution begin
SeongJae Park
134 slides1.1K views
PPTX
What's new in Python 3.11
Anthony Shaw
31 slides2.5K views
PPT
Release This! Tools for a Smooth Release Cycle
Guerrilla
21 slides2.2K views
PDF
The Brave New World of Continuous Release - Baruch Sadogursky
jaxconf
76 slides240 views
ODP
Practical SVN for PHP Developers
Lorna Mitchell
93 slides4.6K views
PDF
Git your life for fun & profit
Interface ULg, LIEGE science park
49 slides643 views
PPTX
SVN Information
RAHUL TRIPATHI
29 slides696 views
KEY
Getting Git
Brian Arnold
114 slides484 views
DOCX
Develop System Integrity ChecksAs part of the overall proposal, .docx
hcheryl1
2 slides3 views
PPTX
Application versioning
Ted Steinmann
23 slides1.1K views
ODP
Debugging With Id
guest215c4e
79 slides1.6K views
PDF
Linux Kernel Participation HowTo
benavrhm
20 slides1.1K views
PPTX
#ESPC19 How to do #DevOps with #SPFx
Vincent Biret
31 slides148 views
PDF
Let the contribution begin (EST futures)
SeongJae Park
135 slides415 views
PPT
SVN Tool Information : Best Practices
Maidul Islam
29 slides2.9K views
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
The University of Queensland
31 slides1.7K views
Subversion
thebdot1
25 slides842 views
Version control
Saman Najafi
50 slides292 views
Create a PHP Library the right way
Christian Varela
177 slides1.4K views
Git your life for fun & profit
Geeks Anonymes
49 slides915 views
Let the contribution begin
SeongJae Park
134 slides1.1K views
What's new in Python 3.11
Anthony Shaw
31 slides2.5K views
Release This! Tools for a Smooth Release Cycle
Guerrilla
21 slides2.2K views
The Brave New World of Continuous Release - Baruch Sadogursky
jaxconf
76 slides240 views
Practical SVN for PHP Developers
Lorna Mitchell
93 slides4.6K views
Git your life for fun & profit
Interface ULg, LIEGE science park
49 slides643 views
SVN Information
RAHUL TRIPATHI
29 slides696 views
Getting Git
Brian Arnold
114 slides484 views
Develop System Integrity ChecksAs part of the overall proposal, .docx
hcheryl1
2 slides3 views
Application versioning
Ted Steinmann
23 slides1.1K views
Debugging With Id
guest215c4e
79 slides1.6K views
Linux Kernel Participation HowTo
benavrhm
20 slides1.1K views
#ESPC19 How to do #DevOps with #SPFx
Vincent Biret
31 slides148 views
Let the contribution begin (EST futures)
SeongJae Park
135 slides415 views
SVN Tool Information : Best Practices
Maidul Islam
29 slides2.9K views
Ad

Recently uploaded (20)

PDF
Technical Guide to Build a Successful Shopify Marketplace from Scratch.pdf
CartCoders
7 slides18 views
PPTX
Presentation on Social Media1111111.pptx
tanamlimbu
19 slides17 views
PDF
Slides PDF: ZPE - QFS Eco Economic Epochs pdf
Steven McGee
125 slides15 views
PPTX
Template Timeplan & Roadmap Product.pptx
ImeldaYulistya
1 slide25 views
PDF
The Power and Impact of Promotion most useful
RajaBilal42
8 slides9 views
PPTX
Slides ZPE - QFS Eco Economic Epochs.pptx
Steven McGee
125 slides7 views
PDF
AiDAC – Custody Platform Overview for Institutional Use.pdf
BobPesakovic
7 slides10 views
PDF
Web Hosting for Shopify WooCommerce etc.
Harry_Phoneix Harry_Phoneix
1 slide21 views
PPTX
1.10-Ruta=1st Term------------------------------1st.pptx
zk7304860098
14 slides13 views
PPTX
ipv6 very very very very vvoverview.pptx
eyala75
22 slides26 views
PDF
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
APNIC
9 slides17 views
PDF
The Complete Guide to Chrome Net Internals DNS – 2025
Orage Technologies
13 slides26 views
PPTX
Research Design - Report on seminar in thesis writing. PPTX
arvielobos1
28 slides31 views
PPTX
本科硕士学历佛罗里达大学毕业证(UF毕业证书)24小时在线办理
Taqyea
7 slides16 views
PPTX
Internet Basics for class ix. Unit I. Describe
ASHUTOSHKUMAR1131
30 slides8 views
PDF
123546568reb2024-Linux-remote-logging.pdf
lafinedelcinghiale
30 slides18 views
PDF
Digital Security in 2025 with Adut Angelina
The ClarityDesk
18 slides16 views
PPTX
Random Presentation By Fuhran Khalil uio
maniieiish
3 slides15 views
PPTX
ZARA-Case.pptx djdkkdjnddkdoodkdxjidjdnhdjjdjx
RonnelPineda2
17 slides22 views
PDF
Pas45789-Energs-Efficient-Craigg1ing.pdf
lafinedelcinghiale
61 slides9 views
Technical Guide to Build a Successful Shopify Marketplace from Scratch.pdf
CartCoders
7 slides18 views
Presentation on Social Media1111111.pptx
tanamlimbu
19 slides17 views
Slides PDF: ZPE - QFS Eco Economic Epochs pdf
Steven McGee
125 slides15 views
Template Timeplan & Roadmap Product.pptx
ImeldaYulistya
1 slide25 views
The Power and Impact of Promotion most useful
RajaBilal42
8 slides9 views
Slides ZPE - QFS Eco Economic Epochs.pptx
Steven McGee
125 slides7 views
AiDAC – Custody Platform Overview for Institutional Use.pdf
BobPesakovic
7 slides10 views
Web Hosting for Shopify WooCommerce etc.
Harry_Phoneix Harry_Phoneix
1 slide21 views
1.10-Ruta=1st Term------------------------------1st.pptx
zk7304860098
14 slides13 views
ipv6 very very very very vvoverview.pptx
eyala75
22 slides26 views
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
APNIC
9 slides17 views
The Complete Guide to Chrome Net Internals DNS – 2025
Orage Technologies
13 slides26 views
Research Design - Report on seminar in thesis writing. PPTX
arvielobos1
28 slides31 views
本科硕士学历佛罗里达大学毕业证(UF毕业证书)24小时在线办理
Taqyea
7 slides16 views
Internet Basics for class ix. Unit I. Describe
ASHUTOSHKUMAR1131
30 slides8 views
123546568reb2024-Linux-remote-logging.pdf
lafinedelcinghiale
30 slides18 views
Digital Security in 2025 with Adut Angelina
The ClarityDesk
18 slides16 views
Random Presentation By Fuhran Khalil uio
maniieiish
3 slides15 views
ZARA-Case.pptx djdkkdjnddkdoodkdxjidjdnhdjjdjx
RonnelPineda2
17 slides22 views
Pas45789-Energs-Efficient-Craigg1ing.pdf
lafinedelcinghiale
61 slides9 views
Ad

Migrating to Symfony 3.0