Skip to content

Commit

Permalink
added composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 31, 2012
1 parent ad18e05 commit f7cb4db
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "dg/twitter-php",
"description": "Small and easy Twitter wrapper for PHP.",
"keywords": ["twitter", "oauth"],
"homepage": "https://github.com/dg/twitter-php",
"license": ["BSD-3"],
"authors": [
{
"name": "David Grudl",
"homepage": "http://davidgrudl.com"
}
],
"autoload": {
"classmap": ["library/"]
}
}
2 changes: 1 addition & 1 deletion examples/load.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once '../twitter.class.php';
require_once '../library/twitter.class.php';

// enables caching (path must exists and must be writable!)
// Twitter::$cacheDir = dirname(__FILE__) . '/temp';
Expand Down
2 changes: 1 addition & 1 deletion examples/search.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once '../twitter.class.php';
require_once '../library/twitter.class.php';


$twitter = new Twitter;
Expand Down
2 changes: 1 addition & 1 deletion examples/send.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once '../twitter.class.php';
require_once '../library/twitter.class.php';

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

0 comments on commit f7cb4db

Please sign in to comment.