v1.2 #3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1 @@
|
||||
/config.php
|
||||
|
||||
/vendor/
|
||||
|
15
README.md
15
README.md
@ -2,21 +2,8 @@
|
||||
Simple PHP library to interface with Gitea API
|
||||
|
||||
Designed to make a "Bot" for manipulating labels on issues.
|
||||
## Create New Project (optional)
|
||||
You only need to do this if you don't already have a composer project. Use the following commands, or create your composer.json manually.
|
||||
```bash
|
||||
mkdir bot
|
||||
cd bot
|
||||
composer init -n --name "acme/bot" --description "my bot!" --author "Me <me@example.com>"
|
||||
```
|
||||
|
||||
## Install
|
||||
```bash
|
||||
composer config repositories.repo-name vcs https://git.jhodges.co.uk/composer/
|
||||
composer require jh/giteabot:dev-composer
|
||||
```
|
||||
|
||||
## Usage
|
||||
Usage example: [no_label_milestone.php](https://git.jhodges.co.uk/james/GiteaBot/src/branch/master/example)
|
||||
For usage examples see https://git.jhodges.co.uk/james/GiteaBot-examples
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user