際際滷

際際滷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!

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
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
PDF
The Growing Value and Application of FME & GenAI
Safe Software
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
PDF
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) 際際滷s
Ravi Tamada
PDF
Unlocking FME Flows Potential: Architecture Design for Modern Enterprises
Safe Software
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
PDF
Kubernetes - Architecture & Components.pdf
geethak285
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
PPTX
Simplifica la seguridad en la nube y la detecci坦n de amenazas con FortiCNAPP
Cristian Garcia G.
PPTX
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
The Growing Value and Application of FME & GenAI
Safe Software
The Future of Product Management in AI ERA.pdf
Alyona Owens
Why aren't you using FME Flow's CPU Time?
Safe Software
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) 際際滷s
Ravi Tamada
Unlocking FME Flows Potential: Architecture Design for Modern Enterprises
Safe Software
Python Conference Singapore - 19 Jun 2025
ninefyi
Kubernetes - Architecture & Components.pdf
geethak285
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
Simplifica la seguridad en la nube y la detecci坦n de amenazas con FortiCNAPP
Cristian Garcia G.
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
Ad

Composing Symfony Apps Using Symfony Flex