-
Copy the file
config/autotweet-sample.php
to your application config file, renaming it toautotweet.php
-
Start the bundle:
-
Automatically: Add
'autotweet' => array('auto' => true),
to yourbundle.php
-
Manually:
Add
'autotweet'
to yourbundle.php
and start the bundle dynamically.
if( !class_exists( 'Autotweet' ) ) {
Bundle::start( 'autotweet' );
}
- Send a tweet from your Laravel app:
Autotweet::tweet("How are you doing today?");