Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed PHP Standards and Best Practices!
You have completed PHP Standards and Best Practices!
Preview
Composer supports the Semantic Versioning by default, and developers should follow the rules so that everyone knows what to expect from updates.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
autoloading, some very basic unit tests
and using accepted PSRs.
0:00
All this time we've not had a version
number for
0:01
our code and all code needs a version
number.
0:02
Composer enforces an established standard
for
0:05
version numbering, which is called
semantic versioning.
0:07
This is also known as SemVer.
0:10
SemVer enforces the structure of the
version number, and
0:11
the level of the change allowed when
incrementing these numbers.
0:15
Version numbers should have three parts.
0:19
The first is the major number.
0:21
The middle is the minor.
0:22
And the last is the patch.
0:24
Major is for making backwards incompatible
changes.
0:26
These are also called breaking changes,
because they'll break things for
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up