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
Before we can release this component, we need to define some extra metadata in our composer.json. When complete, we will have a codebase that is ready to submit to the repository.
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
Once we're done we will have a code base
that is ready to submit to packagist,
0:00
which is the default repository for the
composer.
0:00
This makes your package available to the
entire PHP community.
0:03
Let's have a look at how that works.
0:06
So, this is the same code base we've been
working on for the stage so far.
0:08
We have a composer.json, which so far
only has the very basics in there.
0:11
We have the autoloading section, which
explains how our code is autoloaded.
0:16
We have two dev dependencies and nothing
else.
0:20
Before we can submit this to packagist,
we need more information.
0:23
One such piece of information is the name.
0:27
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