PHPackages                             playlyfe/playlyfe - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. playlyfe/playlyfe

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

playlyfe/playlyfe
=================

This is the official OAuth 2.0 PHP client SDK for the Playlyfe API

0.8.0(10y ago)41.0k5PHPPHP &gt;=5.4.0

Since Oct 9Pushed 10y ago4 watchersCompare

[ Source](https://github.com/playlyfe/playlyfe-php-sdk)[ Packagist](https://packagist.org/packages/playlyfe/playlyfe)[ Docs](http://github.com/playlyfe/playlyfe-php-sdk)[ RSS](/packages/playlyfe-playlyfe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

[![Playlyfe PHP SDK](https://camo.githubusercontent.com/cd7f985f3f0e4ee59ed141532c35fef74b5149b6a28c044c832290d00940e10b/68747470733a2f2f6465762e706c61796c7966652e636f6d2f696d616765732f6173736574732f706c2d7068702d73646b2e706e67 "Playlyfe PHP SDK")](https://camo.githubusercontent.com/cd7f985f3f0e4ee59ed141532c35fef74b5149b6a28c044c832290d00940e10b/68747470733a2f2f6465762e706c61796c7966652e636f6d2f696d616765732f6173736574732f706c2d7068702d73646b2e706e67)

Playlyfe PHP SDK [![PHP version](https://camo.githubusercontent.com/0b64837916a31f2c7efec539acc5bb8a974e414823a562fde1c9d899c25817e9/68747470733a2f2f62616467652e667572792e696f2f70682f706c61796c796665253246706c61796c7966652e737667)](http://badge.fury.io/ph/playlyfe%2Fplaylyfe)
====================================================================================================================================================================================================================================================================================

[](#playlyfe-php-sdk----)

This is the official OAuth 2.0 PHP client SDK for the Playlyfe API. It supports the `client_credentials` and `authorization code` OAuth 2.0 flows. For a complete API Reference checkout [Playlyfe Developers](https://dev.playlyfe.com/docs/api) for more information.

> Note: Breaking Changes this is the new version of the sdk which uses the Playlyfe api v2 by default if you still want to use the v1 api you can do that so by passing a version param with 'v1'

Examples
========

[](#examples)

The Playlyfe class allows you to make rest api calls like GET, POST, .. etc **For api v2**

```
