Skip to content

Commit f7cb4db

Browse files
committed
added composer.json
1 parent ad18e05 commit f7cb4db

6 files changed

Lines changed: 19 additions & 3 deletions

File tree

composer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "dg/twitter-php",
3+
"description": "Small and easy Twitter wrapper for PHP.",
4+
"keywords": ["twitter", "oauth"],
5+
"homepage": "https://github.com/dg/twitter-php",
6+
"license": ["BSD-3"],
7+
"authors": [
8+
{
9+
"name": "David Grudl",
10+
"homepage": "http://davidgrudl.com"
11+
}
12+
],
13+
"autoload": {
14+
"classmap": ["library/"]
15+
}
16+
}

examples/load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once '../twitter.class.php';
3+
require_once '../library/twitter.class.php';
44

55
// enables caching (path must exists and must be writable!)
66
// Twitter::$cacheDir = dirname(__FILE__) . '/temp';

examples/search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once '../twitter.class.php';
3+
require_once '../library/twitter.class.php';
44

55

66
$twitter = new Twitter;

examples/send.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once '../twitter.class.php';
3+
require_once '../library/twitter.class.php';
44

55
// ENTER HERE YOUR CREDENTIALS (see readme.txt)
66
$twitter = new Twitter($consumerKey, $consumerSecret, $accessToken, $accessTokenSecret);
File renamed without changes.

0 commit comments

Comments
 (0)