Skip to content

Commit

Permalink
docs: reorder install instruction to promote usage of composer
Browse files Browse the repository at this point in the history
  • Loading branch information
frederickfogerty committed Dec 16, 2020
1 parent adad1a5 commit 9781e30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@

## Installation

### Standalone

Just copy the files to your project, and include the `src/autoload.php` file. We recommend using Composer if at all possible.

### Using Composer

Define the following requirement in your `composer.json` file:
Expand All @@ -47,6 +43,10 @@ Define the following requirement in your `composer.json` file:

And include the global `vendor/autoload.php` autoloader.

### Standalone

Just copy the files to your project, and include the `src/autoload.php` file. We recommend using Composer if at all possible.

## Usage

To begin creating imgix URLs programmatically, add the php files to your project (an example autoloader is also provided). The URL builder can be reused to create URLs for any
Expand Down

0 comments on commit 9781e30

Please sign in to comment.