際際滷

際際滷Share a Scribd company logo
Composing Symfony Apps
Using
Symfony Flex
Denis-Florin Rendler
July 19th, 2017
1
Agenda	
≒ Star,ng	a	Symfony	Project	
≒ Symfony	4		The	New	Work鍖ow	
≒ Bundles	In	a	Bundle-less	World	
≒ Symfony	Flex	
≒ Contribui,ng	to	Symfony	Flex	recipes	
Composing	Symfony	Apps	Using	Symfony	Flex	 2
Star,ng	a	Symfony	Project	
Composing	Symfony	Apps	Using	Symfony	Flex	 3
Composing	Symfony	Apps	Using	Symfony	Flex	 4
Star,ng	a	Symfony	Project	
≒ Download	tar.gz	from	Symfony.com	and	
unpack	in	project	folder	
≒ $	composer	create-project	symfony/
framework-standard-edi,on	
≒ $	symfony	new	my_project_name	
Composing	Symfony	Apps	Using	Symfony	Flex	 5
Symfony	Distribu,ons	
Composing	Symfony	Apps	Using	Symfony	Flex	 6	
REST EDITION
STANDARD EDITION
Symfony	4		The	New	Work鍖ow	
Simpli鍖ed	Project	Structure	
Composing	Symfony	Apps	Using	Symfony	Flex	 7
One	File	Project	Ini,aliza,on	
Composing	Symfony	Apps	Using	Symfony	Flex	 8
Simpli鍖ed	Project	Structure	
Composing	Symfony	Apps	Using	Symfony	Flex	 9
The	New	Work鍖ow	Common	Prac,ces	
≒ Bundle-less	Applica,ons	
≒ Environment	Variables	
≒ Uni鍖ed	Web	Front	Controller	
≒ Make鍖le	
≒ Assets	Management	Using	Symfony	Webpack	
Encore	
≒ Microkernel	By	Default	
Composing	Symfony	Apps	Using	Symfony	Flex	 10
Bundles	in	a	bundle-less	world	
≒ Install	them	as	third-party	bundles	
≒ Add	them	to	the	src/	folder	and	de鍖ne	the	
namespace	in	composer.json	
≒ Add	them	to	a	di鍖erent	folder	
Composing	Symfony	Apps	Using	Symfony	Flex	 11
Composing	Symfony	Apps	Using	Symfony	Flex	 12
Symfony	Flex	
Installa,on	Work鍖ow	Automa,on	
With	A	Pinch	Of	Magic	
Composing	Symfony	Apps	Using	Symfony	Flex	 13
Composer	Events	
Composing	Symfony	Apps	Using	Symfony	Flex	 14
Symfony	Flex	
Composing	Symfony	Apps	Using	Symfony	Flex	 15
Symfony	Flex	Recipe	
Composing	Symfony	Apps	Using	Symfony	Flex	 16
Symfony	Flex	Con鍖gurators		
≒ copy-from-recipe	
≒ copy-from-package	
≒ bundles	
≒ env	
≒ container	
Composing	Symfony	Apps	Using	Symfony	Flex	 17	
≒ make鍖le	
≒ composer-scripts	
≒ gi,gnore	
≒ post-install-output
Contribu,ng	To	Symfony	Flex	
1. Write	a	Recipe	for	a	Package	
2. Create	a	Github	Pull	Request:		
hbps://github.com/symfony/recipes/	
hbps://github.com/symfony/recipes-contrib	
Composing	Symfony	Apps	Using	Symfony	Flex	 18
Who	Am	I?	
	
	
Denis		Florin	Rendler	
PHP	Developer	@	Evozon	
Symfony	3	and	Zend	PHP	Cer,鍖ed	Developer	
	
Twiber:	@DenisRendler	
Blog:						webthoughts.koderhut.eu/	
Composing	Symfony	Apps	Using	Symfony	Flex	 19
20	
Thank	You	For	Abending!
Ad

Recommended

ODP
Brief introduction to Symfony Flex
Fedir Kryvytskyi
PDF
Symfony - A baptism of fire
Tom Corrigan
KEY
Flex Piloting
Joel Klabo
PDF
Symfony Live San Francisco 2017 - Symfony @ OpenSky
Pablo Godel
PDF
Symfony Live San Franciso 2017 - BDD API Development with Symfony and Behat
Adam Englander
PDF
What's new in Symfony3
Yuki MAEJIMA
PPTX
10/29 Austin Ansible MeetUp - AnsibleFest Talk & Extending Ansible
tylerturk
KEY
A Branch for Every Feature - Atlassian Summit 2012
Atlassian
PDF
Symfony 4: A new way to develop applications #ipc19
Antonio Peric-Mazar
PDF
Symfony4 - Deep dive
Salma Ghareeb
PDF
Symfony4: A new way to develop applications | Antonio Peric | CODEiD
CODEiD PHP Community
PDF
Symfony4 - A new way of developing web applications
Antonio Peric-Mazar
ODP
Symfony, Oxid, Composer
Chrstn Lck
PDF
Symfony 4: A new way to develop applications #phpsrb
Antonio Peric-Mazar
PDF
Hands-on with the Symfony2 Framework
Ryan Weaver
PDF
Symfony4
Alessandro Minoccheri
PDF
Symfony2 San Francisco Meetup 2009
Fabien Potencier
ODP
An introduction to Symfony 2 for symfony 1 developers
Giorgio Cefaro
PDF
Fabien Potencier "Symfony 4 in action"
Fwdays
PDF
Modularity problems
豫仍亳 仂于舒仍亠仆从仂
PDF
PHP Frameworks and Symfony
Glenn Guden
PDF
Introduction to symfony2
Pablo Godel
PDF
Symfony: Your Next Microframework (SymfonyCon 2015)
Ryan Weaver
PDF
Symfony 2.0 on PHP 5.3
Fabien Potencier
PDF
Symony2 A Next Generation PHP Framework
Ryan Weaver
PDF
Symfony quick tour_2.3
Fr辿d辿ric Delorme
ODP
Running Symfony
Wildan Maulana
PDF
Symfony demonstration
Stephen McAuley
PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani

More Related Content

Similar to Composing Symfony Apps Using Symfony Flex (20)

PDF
Symfony 4: A new way to develop applications #ipc19
Antonio Peric-Mazar
PDF
Symfony4 - Deep dive
Salma Ghareeb
PDF
Symfony4: A new way to develop applications | Antonio Peric | CODEiD
CODEiD PHP Community
PDF
Symfony4 - A new way of developing web applications
Antonio Peric-Mazar
ODP
Symfony, Oxid, Composer
Chrstn Lck
PDF
Symfony 4: A new way to develop applications #phpsrb
Antonio Peric-Mazar
PDF
Hands-on with the Symfony2 Framework
Ryan Weaver
PDF
Symfony4
Alessandro Minoccheri
PDF
Symfony2 San Francisco Meetup 2009
Fabien Potencier
ODP
An introduction to Symfony 2 for symfony 1 developers
Giorgio Cefaro
PDF
Fabien Potencier "Symfony 4 in action"
Fwdays
PDF
Modularity problems
豫仍亳 仂于舒仍亠仆从仂
PDF
PHP Frameworks and Symfony
Glenn Guden
PDF
Introduction to symfony2
Pablo Godel
PDF
Symfony: Your Next Microframework (SymfonyCon 2015)
Ryan Weaver
PDF
Symfony 2.0 on PHP 5.3
Fabien Potencier
PDF
Symony2 A Next Generation PHP Framework
Ryan Weaver
PDF
Symfony quick tour_2.3
Fr辿d辿ric Delorme
ODP
Running Symfony
Wildan Maulana
PDF
Symfony demonstration
Stephen McAuley
Symfony 4: A new way to develop applications #ipc19
Antonio Peric-Mazar
Symfony4 - Deep dive
Salma Ghareeb
Symfony4: A new way to develop applications | Antonio Peric | CODEiD
CODEiD PHP Community
Symfony4 - A new way of developing web applications
Antonio Peric-Mazar
Symfony, Oxid, Composer
Chrstn Lck
Symfony 4: A new way to develop applications #phpsrb
Antonio Peric-Mazar
Hands-on with the Symfony2 Framework
Ryan Weaver
Symfony2 San Francisco Meetup 2009
Fabien Potencier
An introduction to Symfony 2 for symfony 1 developers
Giorgio Cefaro
Fabien Potencier "Symfony 4 in action"
Fwdays
PHP Frameworks and Symfony
Glenn Guden
Introduction to symfony2
Pablo Godel
Symfony: Your Next Microframework (SymfonyCon 2015)
Ryan Weaver
Symfony 2.0 on PHP 5.3
Fabien Potencier
Symony2 A Next Generation PHP Framework
Ryan Weaver
Symfony quick tour_2.3
Fr辿d辿ric Delorme
Running Symfony
Wildan Maulana
Symfony demonstration
Stephen McAuley

Recently uploaded (20)

PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
PDF
MPU+: A Transformative Solution for Next-Gen AI at the Edge, a Presentation...
Edge AI and Vision Alliance
PDF
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
PDF
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
PPTX
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
PDF
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
PDF
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
PPTX
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
PDF
The Growing Value and Application of FME & GenAI
Safe Software
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
PPTX
Wenn alles versagt - IBM Tape sch端tzt, was z辰hlt! Und besonders mit dem neust...
Josef Weingand
PDF
Mastering AI Workflows with FME by Mark Doring
Safe Software
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
PPTX
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
PPTX
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
PDF
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
MPU+: A Transformative Solution for Next-Gen AI at the Edge, a Presentation...
Edge AI and Vision Alliance
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
Python Conference Singapore - 19 Jun 2025
ninefyi
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
The Future of Product Management in AI ERA.pdf
Alyona Owens
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
The Growing Value and Application of FME & GenAI
Safe Software
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
Wenn alles versagt - IBM Tape sch端tzt, was z辰hlt! Und besonders mit dem neust...
Josef Weingand
Mastering AI Workflows with FME by Mark Doring
Safe Software
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
Ad

Composing Symfony Apps Using Symfony Flex