Skip to content

A kick-ass PHP library to connect to third-party applications.

Notifications You must be signed in to change notification settings

keeguon/MultiPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiPass Build Status

MultiPass is a kick-ass library to authenticate yourself against third-party APIs using the OAuth 1 or OAuth 2 authentication scheme. It is widely inspired by similar work in other language such as OmniAuth in Ruby or Passport in Node/JS.

Dependencies

Installation

composer

To install MultiPass with composer you simply need to create a composer.json in your project root and add:

{
    "require": {
        "multipass/multipass": ">=1.0.0"
    }
}

Then run

$ wget -nc http://getcomposer.org/composer.phar
$ php composer.phar install

You have now MultiPass installed in vendor/multipass/multipass

And an handy autoload file to include in you project in vendor/.composer/autoload.php

Testing

The library is fully tested with PHPUnit for unit tests. To run tests you need PHPUnit which can be installed using the project dependencies as follows:

$ php composer.phar install --dev

Then to run the test suites

$ vendor/bin/phpunit

License

Copyright (c) 2013 Félix Bellanger [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A kick-ass PHP library to connect to third-party applications.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages