Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Created June 18, 2015 15:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Shelob9/efbd767cc6e566b669be to your computer and use it in GitHub Desktop.
Save Shelob9/efbd767cc6e566b669be to your computer and use it in GitHub Desktop.
{
"name": "calderawp/twitter-thing",
"description": "POC for a twitter plugin",
"type" : "wordpress-plugin",
"require": {
"abraham/twitteroauth": "dev-master",
"calderawp/tweet_core": "dev-master"
},
"license": "gpl",
"authors": [
{
"name": "Josh Pollock",
"email": "Josh@CalderaWP.com"
}
],
"minimum-stability": "dev",
"autoload": {
"psr-4": {"calderawp\\twitter_thing\\": "src/"}
}
}
<?php
/*
Plugin Name: Twitter Thing
*/
add_action( 'init', function(){
include_once( dirname( __FILE__ ) . '/vendor/autoload.php' );
new calderawp\twitter_core\core();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment