PHPackages                             seeclickfix/laravel-seeclickfix-api - 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. seeclickfix/laravel-seeclickfix-api

ActiveLibrary[API Development](/categories/api)

seeclickfix/laravel-seeclickfix-api
===================================

SeeClickFix Laravel API

0.1.4(11y ago)0334Apache-2.0PHPPHP &gt;=5.3.0

Since Jan 17Pushed 11y ago8 watchersCompare

[ Source](https://github.com/SeeClickFix/laravel-seeclickfix-api)[ Packagist](https://packagist.org/packages/seeclickfix/laravel-seeclickfix-api)[ Docs](https://github.com/seeclickfix/laravel-seeclickfix-api)[ RSS](/packages/seeclickfix-laravel-seeclickfix-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

SeeClickFix wrapper for Laravel 4 - Alpha
=========================================

[](#seeclickfix-wrapper-for-laravel-4---alpha)

[![Latest Stable Version](https://camo.githubusercontent.com/af91c567182df2e0fc466a967ef8f62b258a7afb48d9a779a723fa37ca2743da/68747470733a2f2f706f7365722e707567782e6f72672f736565636c69636b6669782f6c61726176656c2d736565636c69636b6669782d6170692f762f737461626c652e706e67)](https://packagist.org/packages/seeclickfix/laravel-seeclickfix-api) [![Total Downloads](https://camo.githubusercontent.com/7d30ffaebc36499d2bc85d0ac67de9a732c3f0915160059009380490d408d147/68747470733a2f2f706f7365722e707567782e6f72672f736565636c69636b6669782f6c61726176656c2d736565636c69636b6669782d6170692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/seeclickfix/laravel-seeclickfix-api)

Laravel Seeclickfix API is a simple laravel 4 service provider (wrapper) for [seeclickfix/seeclickfix-php-sdk](https://github.com/seeclickfix/seeclickfix-php-sdk)which provides API support in PHP 5.3+

---

- [Installation](#installation)
- [Registering the Package](#registering-the-package)
- [Configuration](#configuration)
- [Usage](#usage)
- [Basic usage](#basic-usage)
- [License](#license)

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

[](#installation)

Add laravel-seeclickfix-api to your composer.json file:

```
"require": {
  "seeclickfix/laravel-seeclickfix-api": "dev-master"
}

```

Use composer to install this package.

```
$ composer update

```

Create configuration file using artisan

```
$ php artisan config:publish seeclickfix/laravel-seeclickfix-api

```

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

[](#configuration)

### Registering the Package

[](#registering-the-package)

Add an alias to the bottom of app/config/app.php

```
'SeeClickFix' => 'SeeClickFix\API\Facade\API',
```

and register this service provider at the bottom of the `$providers` array:

```
'SeeClickFix\API\APIServiceProvider',
```

### Credentials

[](#credentials)

Add your credentials to `app/config/packages/seeclickfix/laravel-seeclickfix-api/config.php`

```
return array(

	/*
	 |--------------------------------------------------------------------------
	 | Settings
	 |--------------------------------------------------------------------------
	 */

    'location'	     => 'default',
    'sandbox_mode'	 => false,

	/*
	 |--------------------------------------------------------------------------
	 | Keys
	 |--------------------------------------------------------------------------
	 */

	 'client_id'      => '',
	 'client_secret'  => '',
	 'redirect_uri'   => '', // Relative path

);
```

When developing your application set `sandbox_mode` to *true*. This will allow you to test out features on our test server.

Usage
-----

[](#usage)

### Basic usage

[](#basic-usage)

**SeeClickFix::getAuthorizationUri()** -This will redirect the user to the SeeClickFix authorization page.

**SeeClickFix::getAccessToken()** - Gets access token and validates it.

**SeeClickFix::check()** - Determine if the user is logged in.

**SeeClickFix::getUserId( $id )** - Returns a single user by `id`.

**SeeClickFix::logout()** - Log current user out.

For a full list of API calls check the [seeclickfix/seeclickfix-php-sdk](https://github.com/seeclickfix/seeclickfix-php-sdk) wiki.

Usage examples
--------------

[](#usage-examples)

In your Controller use the following code:

```
/**
 * Login user with SeeClickFix
 *
 * @return void
 */

public function loginWithSeeClickFix() {

	// get data from input
	$code = Input::get( 'code' );

	// check if code is valid
	if ( !empty( $code ) )
	{
		// Try to log the user in
        SeeClickFix::getAccessToken( $code );

		return Redirect::route("/")->with("success", "You have successfully logged in.");
	}
	// if not ask for permission first
	else {
		// get SeeClickFix authorization URL
		$url = SeeClickFix::getAuthorizationUri();

		// return to SeeClickFix login url
		return Response::make()->header( 'Location', (string)$url );
	}

}
```

In your Blade Views use the following code:

```
@if (SeeClickFix::check())
	Logout
@else
	Login/Sign-up
@endif
```

\##License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

**Copyright 2013-2015 SeeClickFix**

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~89 days

Total

4

Last Release

4228d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e1c5e54f5bf9f58e54d8d4dce307de6eb7ffe8b0c2e1e949f31b951f681b2bf?d=identicon)[seeclickfix](/maintainers/seeclickfix)

---

Top Contributors

[![Torann](https://avatars.githubusercontent.com/u/1406755?v=4)](https://github.com/Torann "Torann (6 commits)")

---

Tags

apilaravelsdkseeclickfix

### Embed Badge

![Health badge](/badges/seeclickfix-laravel-seeclickfix-api/health.svg)

```
[![Health](https://phpackages.com/badges/seeclickfix-laravel-seeclickfix-api/health.svg)](https://phpackages.com/packages/seeclickfix-laravel-seeclickfix-api)
```

###  Alternatives

[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[orzcc/taobao-top-client

Taobao top client(SDK) for laravel

11125.9k](/packages/orzcc-taobao-top-client)[missael-anda/laravel-whatsapp

A Whatsapp Business Cloud API wrapper for Laravel.

677.5k](/packages/missael-anda-laravel-whatsapp)

PHPackages © 2026

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