v1.2 #3

Manually merged
jhodges merged 25 commits from develop into master 2019-09-07 08:53:26 +01:00
Showing only changes of commit bb1e21db2e - Show all commits

View File

@ -2,8 +2,20 @@
Simple PHP library to interface with Gitea API Simple PHP library to interface with Gitea API
Designed to make a "Bot" for manipulating labels on issues. Designed to make a "Bot" for manipulating labels on issues.
## Create New Project (optional)
You only need to do this if you dont already have a composer project.
```bash
mkdir bot
cd bot
composer init -n --name "acme/bot" --description "my bot!" --author "Me <me@example.com>"
```
## Install ## Install
composer create-project -s dev jh/giteabot --repository-url 'https://git.jhodges.co.uk/composer/' ```bash
composer config repositories.repo-name vcs https://git.jhodges.co.uk/composer/
composer require jh/giteabot:dev-composer
```
## Usage ## Usage
Usage example: [no_label_milestone.php](https://git.jhodges.co.uk/james/GiteaBot/src/branch/master/example) Usage example: [no_label_milestone.php](https://git.jhodges.co.uk/james/GiteaBot/src/branch/master/example)