diff --git a/install/composer.xml b/install/composer.xml index a55dca7f519d..cd64f32c2bb8 100644 --- a/install/composer.xml +++ b/install/composer.xml @@ -8,7 +8,7 @@ Introduction to Composer &link.composer; is a dependency manager for PHP that makes it possible - to define third-party packages of code that your project uses that can + to define third-party packages of code that a project uses that can then be easily installed and updated. It leverages the the built-in class autoloading features of PHP, repositories of PHP packages such as @@ -16,18 +16,18 @@ layout and coding conventions. - For example, if you are writing a PHP application or website that needs - to work with UUID values, you might want to use + For example, if a PHP application or website needs + to work with UUID values, Ben Ramsey's ramsey/uuid package that implements the widely known and used types of UUIDs that are defined by - RFC 4122. + RFC 4122 could be used. - Briefly, you would do this by creating a composer.json - in your project, using Composer to install the latest version of the + Briefly, this is done by creating a composer.json + in the project, using Composer to install the latest version of the package, and including Composer's autoload script to make it available - to your code. The Composer + to the code. The Composer "Basic Usage" documentation goes into this in more depth. diff --git a/language/oop5/autoload.xml b/language/oop5/autoload.xml index 586c2a4f304f..8c7b4e8e39c6 100644 --- a/language/oop5/autoload.xml +++ b/language/oop5/autoload.xml @@ -87,7 +87,7 @@ Fatal error: Interface 'ITest' not found in ... &link.composer; generates a vendor/autoload.php with is set up to automatically load packages that are being managed - by Composer. By including this file, you can use those packages without + by Composer. By including this file, those packages can be used without any additional work.