Skip to content

Commit

Permalink
Passive voice
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwins committed Aug 23, 2024
1 parent 09def60 commit 6d9edbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions install/composer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@
<title>Introduction to Composer</title>
<simpara>
&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
<link linkend="language.oop5.autoload">class autoloading features</link>
of PHP, repositories of PHP packages such as
<link xlink:href="&url.packagist;">Packagist</link>, and common project
layout and coding conventions.
</simpara>
<simpara>
For example, if you are writing a PHP application or website that needs
to work with <abbrev>UUID</abbrev> values, you might want to use
For example, if a PHP application or website needs
to work with <abbrev>UUID</abbrev> values,
<link xlink:href="&url.packagist.package;ramsey/uuid">Ben Ramsey's
<literal>ramsey/uuid</literal> package</link> that implements the
widely known and used types of UUIDs that are defined by
<link xlink:href="&url.rfc;4122">RFC 4122</link>.
<link xlink:href="&url.rfc;4122">RFC 4122</link> could be used.
</simpara>
<simpara>
Briefly, you would do this by creating a <literal>composer.json</literal>
in your project, using Composer to install the latest version of the
Briefly, this is done by creating a <literal>composer.json</literal>
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 <link xlink:href="&url.composer;/doc/01-basic-usage.md">Composer
to the code. The <link xlink:href="&url.composer;/doc/01-basic-usage.md">Composer
"Basic Usage" documentation</link> goes into this in more depth.
</simpara>
<para>
Expand Down
2 changes: 1 addition & 1 deletion language/oop5/autoload.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Fatal error: Interface 'ITest' not found in ...
<para>
&link.composer; generates a <literal>vendor/autoload.php</literal>
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.
</para>
<programlisting role="php">
Expand Down

0 comments on commit 6d9edbf

Please sign in to comment.