1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-02 06:10:14 +02:00

Improve installation instructions by excluding steps for manual setup

This commit is contained in:
Marco
2017-01-30 19:31:45 +01:00
parent f5027c09e9
commit 4f5ff151ef

View File

@@ -22,21 +22,21 @@ Completely framework-agnostic and database-agnostic.
## Installation ## Installation
* Set up the PHP library 1. Include the library via [Composer](https://getcomposer.org/)
* Install via [Composer](https://getcomposer.org/) (recommended)
`$ 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 1. Set up a database and create the required tables
* Install manually
* Copy the contents of the [`src`](src) directory to a subfolder of your project * [MySQL](Database/MySQL.sql)
* Include the files in your code via `require` or `require_once`
* Set up a database and create the required tables
* [MySQL](Database/MySQL.sql)
## Usage ## Usage