Notes
 Use composer locally, commit in repository
 No stable version yet
 Developers and CI server will use the same version ...
 Build: add composer update --dry-run
 "minimum-stability": "stable“
 “require”: {“some/dep”: “2.2@dev”}
 “require”: {...
Upcoming SlideShare
Loading in...5
×

Composer talk by Maxim Romanovsky

203

Published on

Дополнения Максима Романовского к презентации Йозефа с SymfonyCon Киев (декабрь 2012)

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
203
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Composer talk by Maxim Romanovsky

  1. 1. Notes
  2. 2.  Use composer locally, commit in repository  No stable version yet  Developers and CI server will use the same version of Composer  Optimize autoloader  install vs update vs require  Use composer update only during upgrade of deps  You can upgrade specific deps  composer update some/dep foo/bar  Code review: check if .lock file wasn’t accidentally committed!  New dependency  composer require “some/dep=1.1.*”
  3. 3.  Build: add composer update --dry-run  "minimum-stability": "stable“  “require”: {“some/dep”: “2.2@dev”}  “require”: {“some/dep”: “2.2@alpha”}  “require”: {“some/dep”: “dev-master”}  Still having issues?  Check stability of dependencies!  Symfony 3.3.x & DoctrineMigrationsBundle  "doctrine/migrations": "dev-master",  "doctrine/doctrine-fixtures-bundle": "dev-master",  Install  --dev Enables installation of require-dev packages.  --optimize-autoloader
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×