https://github.com/thinkphp/gists
A simple PHP class that provides an easy interface for gists GitHub.
https://github.com/thinkphp/gists
Last synced: 3 months ago
JSON representation
A simple PHP class that provides an easy interface for gists GitHub.
- Host: GitHub
- URL: https://github.com/thinkphp/gists
- Owner: thinkphp
- Created: 2013-02-26T09:58:27.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-05T20:02:13.000Z (almost 13 years ago)
- Last Synced: 2024-04-14T14:54:26.316Z (almost 2 years ago)
- Language: PHP
- Homepage: http://thinkphp.ro/apps/php-hacks/gists/show.gists.php?user=thinkphp
- Size: 109 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gists
-----
A simple PHP class that provides an easy interface for gists GitHub.
Usage
-----
```php
require_once('src/gists.class.php');
$obj = new Gist();
$user = 'thinkphp';
$resp = json_decode( $obj->all( $user ), true );
print_r( $resp );
```