devdojo / forrst
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/devdojo/forrst
Requires
- php: >=5.3.0
- illuminate/support: 4.0.*
This package is auto-updated.
Last update: 2025-09-15 05:44:17 UTC
README
A Forrst API Wrapper Package for Laravel 4
Installation
Begin by installing this package through Composer. Edit your project's composer.json
file to require devdojo/forrst
.
"require": {
"devdojo/forrst": "dev-master"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the final step is to add the service provider. Open app/config/app.php
, and add a new item to the providers array.
'Devdojo\Forrst\ForrstServiceProvider',
That's it! You're all set to go.
Usage
Here's an example of how to get the most recent posts.
<?php $forrst = Forrst::listPosts('snap', 'recent', 30); ?> @foreach($forrst->resp->posts as $post) print_r($post); @endforeach
For further info on using the Forrst API, be sure to checkout: http://forrst.com/api
Hope you enjoy :)