PHPackages                             apipack/eden - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. apipack/eden

ActiveLibrary[API Development](/categories/api)

apipack/eden
============

112786[2 issues](https://github.com/taqmaninw/laravel-4-apipack/issues)[1 PRs](https://github.com/taqmaninw/laravel-4-apipack/pulls)PHP

Since Apr 10Pushed 12y ago6 watchersCompare

[ Source](https://github.com/taqmaninw/laravel-4-apipack)[ Packagist](https://packagist.org/packages/apipack/eden)[ RSS](/packages/apipack-eden/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 4 Apipack
-----------------

[](#laravel-4-apipack)

Apipack integrates the api from [Eden Framework](http://www.eden-php.com) into to [Laravel](http://laravel.com). For more information, see the [Eden Documentation](http://www.eden-php.com/documentation).

```
php artisan config:publish apipack/eden

```

Installation
------------

[](#installation)

- Apipack on [Packagist](https://packagist.org/packages/apipack/eden)
- Apipack on [GitHub](https://github.com/taqmaninw/laravel-4-apipack)

To get the latest version of Apipack, simply require it in your `composer.json` file.

```
"apipack/eden": "dev-master"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Apipack is installed, you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(

    'Apipack\Eden\EdenServiceProvider'

);
```

Apipack also ships with a facade which provides the static syntax for creating collections. You can register the facade in the `aliases` key of your `app/config/app.php` file.

```
'aliases' => array(

    'Google'    => 'Apipack\Eden\Facade\Google',
    'Facebook'  => 'Apipack\Eden\Facade\Facebook',
    'Instagram' => 'Apipack\Eden\Facade\Instagram',

)
```

Configuration
-------------

[](#configuration)

In the main configuration for Apipack, you can add app credential in this:

```
return array(
    /*
     * App credential
     *
     */

    'Google' => array(
        'clientID' => '',
        'clientSeceret' => '',
        'redirectUrl' => '',
        'ApiKey' => '',
    ),
    'Facebook'=> array(
        'appkey' => '',
        'appsecret' => '',
        'redirecturl' => '',
    ),
    'Instagram'=>array(
        'clientid' => '',
        'clientsecret' => '',
        'redirecturl' => '',
    ),

);
```

Simple Usage
------------

[](#simple-usage)

```
$auth = Google::auth();

//if no code and no session
if(!isset($_GET['code']) && !isset($_SESSION['token'])) {
    //redirect to login
    $login = $auth->getLoginUrl('calendar');
    header('Location: '.$login);
    exit;
}

//Code is returned back from google
if(isset($_GET['code'])) {
    //save it to session
    $access = $auth->getAccess($_GET['code']);
    $_SESSION['token'] = $access['access_token'];
}
```

Todo
----

[](#todo)

- Amazon
- Twitter
- Payapl
- Foursquare
- Tumble

Support or Contact
------------------

[](#support-or-contact)

If you have some problem, Contact my site :\[[www.laraveltut.com](http://www.laraveltut.com)\]

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f83170524a0337c2493235371c200f1c342d946e8901ad00e608897068800bc?d=identicon)[taqmaninw](/maintainers/taqmaninw)

---

Top Contributors

[![krissanawat](https://avatars.githubusercontent.com/u/2133223?v=4)](https://github.com/krissanawat "krissanawat (12 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (2 commits)")

### Embed Badge

![Health badge](/badges/apipack-eden/health.svg)

```
[![Health](https://phpackages.com/badges/apipack-eden/health.svg)](https://phpackages.com/packages/apipack-eden)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
