Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit ab10fec

Browse files
author
Mario Basic
committed
Initial commit.
0 parents  commit ab10fec

9 files changed

+1455
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/
2+
3+
vendor/

.travis.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- hhvm
8+
9+
install:
10+
- composer install --prefer-source --no-interaction --no-dev

LICENSE.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Mario Basic
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# WakaTime PHP API
2+
3+
**WakaTime API for PHP**
4+
5+
**Readme coming soon.**
6+
7+
## Testing instructions
8+
9+
For testing purposes set these environment variables before running tests:
10+
11+
On windows use:
12+
13+
```
14+
setx WAKATIME_API_KEY xyz
15+
setx WAKATIME_PROJECT xyz
16+
```
17+
18+
On Linux use:
19+
20+
```
21+
export WAKATIME_API_KEY=xyz
22+
export WAKATIME_PROJECT=xyz
23+
```
24+
25+
---
26+
27+
> Of course replace `xyz` with correct values.

composer.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "mabasic/wakatime-php-api",
3+
"description": "WakaTime API for PHP",
4+
"require": {
5+
"php": ">=5.6",
6+
"guzzlehttp/guzzle": "4.*"
7+
},
8+
"require-dev": {
9+
"phpunit/phpunit": "4.4.*",
10+
"mockery/mockery": "dev-master"
11+
},
12+
"license": "MIT",
13+
"authors": [
14+
{
15+
"name": "Mario Basic",
16+
"email": "[email protected]"
17+
}
18+
],
19+
"autoload": {
20+
"psr-4": {
21+
"Mabasic\\WakaTime\\": "src/"
22+
}
23+
},
24+
"minimum-stability": "dev",
25+
"prefer-stable": true
26+
}

0 commit comments

Comments
 (0)