From 4f5ff151ef490deefd4af28467c82959e6e3e50b Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 30 Jan 2017 19:31:45 +0100 Subject: [PATCH] Improve installation instructions by excluding steps for manual setup --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e9e60d0..4ec7ec2 100644 --- a/README.md +++ b/README.md @@ -22,21 +22,21 @@ Completely framework-agnostic and database-agnostic. ## Installation - * Set up the PHP library - * Install via [Composer](https://getcomposer.org/) (recommended) + 1. Include the library via [Composer](https://getcomposer.org/) - `$ composer require delight-im/auth` + ``` + $ composer require delight-im/auth + ``` - Include the Composer autoloader: + 1. Include the Composer autoloader: - `require __DIR__.'/vendor/autoload.php';` + ```php + require __DIR__ . '/vendor/autoload.php'; + ``` - * or - * Install manually - * Copy the contents of the [`src`](src) directory to a subfolder of your project - * Include the files in your code via `require` or `require_once` - * Set up a database and create the required tables - * [MySQL](Database/MySQL.sql) + 1. Set up a database and create the required tables + + * [MySQL](Database/MySQL.sql) ## Usage