Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Symfony 4.1 What's New?
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tim Jabs
May 30, 2018
Technology
4
1.1k
Symfony 4.1 What's New?
Tim Jabs
May 30, 2018
Tweet
Share
More Decks by Tim Jabs
See All by Tim Jabs
Symfony 4.2 updated
rubinum
0
130
Symfony 4.2
rubinum
0
610
Other Decks in Technology
See All in Technology
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
260
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
480
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
220
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
310
pool.ntp.orgに ⾃宅サーバーで 参加してみたら...
tanyorg
0
140
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
490
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
330
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
220
First, design no harm
axbom
PRO
2
1.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
160
Testing 201, or: Great Expectations
jmmastey
46
8.1k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Embracing the Ebb and Flow
colly
88
5k
HDC tutorial
michielstock
1
390
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Transcript
SYMFONY 4.1 WHAT'S NEW? 1
Who am I? Tim Jabs Software Developer @ Sensiolabs
Deutschland 2
FASTEST PHP ROUTER !3
FASTEST PHP ROUTER !4 • matcher class refactored based on
an article Fast request routing using regular expressions • Technique based on FastRoute made by Nikita Popov • optimisation through avoiding preg_match calls each route
FASTEST PHP ROUTER !5 • Symfony 4.1 URL matching is
77x faster than in previous versions • The Symfony Router is now the fastest PHP router, beating FastRoute and all other routing libraries
INTL ROUTING 6
INTL ROUTING !7 • JMSI18nRoutingBundle features now in Symfony out-of-the-box
• you can define now different paths per locale
8
!9
SERIALIZER IMPROVEMENTS 10
SERIALIZER IMPROVEMENTS Faster Serializer !11 • 40% faster serialisation •
new CacheableSupportsMethodInterface for caching supportsNormalization()
CONSOLE IMPROVEMENTS 12
CONSOLE IMPROVEMENTS !13
!14 Autosuggestions
!15 New table styles
!16 New table styles
!17 New methods for customising tables
!18 Support for outputting iterators
ADVANCED CONSOLE IMPROVEMENTS 19
ADVANCED CONSOLE IMPROVEMENTS !20 • render multiple sections simultaneously •
add new rows to tables
!21 Adding sections to your console app
!22
!23
!24
NEW MESSENGER COMPONENT 25
NEW MESSENGER COMPONENT !26 • comes with an built-in AMQP
Adapter • has a built-in way to send and receive messages
!27
!28
!29
VAR DUMPER SERVER 30
!31 • VarDumper has now a server to collect all
dumped data • can be dumped as HTML VAR DUMPER SERVER
32
33
34
35
THANK YOU 36
REFERENCES !37 • https://symfony.com/blog/new-in-symfony-4-1-fastest-php-router • https://symfony.com/blog/new-in-symfony-4-1-internationalized-routing • https://symfony.com/blog/new-in-symfony-4-1-faster-serializer • https://symfony.com/blog/new-in-symfony-4-1-serializer-improvements
• https://symfony.com/blog/new-in-symfony-4-1-console-improvements • https://symfony.com/blog/new-in-symfony-4-1-advanced-console-output • https://symfony.com/blog/new-in-symfony-4-1-messenger-component • https://symfony.com/blog/new-in-symfony-4-1-vardumper-server