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

ActiveLibrary[API Development](/categories/api)

netflex/api
===========

Netflex API library

v6.4.0(8mo ago)04.6k↑50%16MITPHPPHP ^8.2

Since Sep 25Pushed 2mo agoCompare

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

READMEChangelogDependencies (6)Versions (312)Used By (16)

Netflex API
===========

[](#netflex-api)

[![Stable version](https://camo.githubusercontent.com/c443dd5e468120bd9616b435a1a85cb37d7eacc0411c43483c10835708350d05/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6574666c65782f6170693f6c6162656c3d737461626c65)](https://packagist.org/packages/netflex/api)[![Build status](https://github.com/netflex-sdk/framework/actions/workflows/split_monorepo.yaml/badge.svg)](https://github.com/netflex-sdk/framework/actions/workflows/split_monorepo.yaml)[![License: MIT](https://camo.githubusercontent.com/5aa6907fc4728dd862c36a62341088549045174232fb80d12316f8d4a54dab2d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6574666c65782d73646b2f6672616d65776f726b2e737667)](https://opensource.org/licenses/MIT)[![Contributors](https://camo.githubusercontent.com/10d668778137128eff66341a0740ae7e081ffd5493c5f9f9157b47742d670dac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6e6574666c65782d73646b2f6170692e7376673f636f6c6f723d677265656e)](https://github.com/netflex-sdk/api/graphs/contributors)[![Downloads](https://camo.githubusercontent.com/19ba9617aa0ce49b76c67e684c362fdc2f7895a88dd4945972aaf29b9cfc8380/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6574666c65782f617069)](https://packagist.org/packages/netflex/api/stats)

\[READ ONLY\] Subtree split of the Netflex API component (see [netflex/api](https://github.com/netflex-sdk/framework))

A library for working with the Netflex API.

[Documentation](https://netflex-sdk.github.io/#/docs/api)

Table of contents
-----------------

[](#table-of-contents)

- [Heading](#installation)
    - [Setup](#1-setup)
    - [Provider](#2-provider)
    - [Facades](#3-facades)
    - [Configuration](#4-configuration)
- [Standalone usage](#standalone-usage)
- [Testing](#testing)

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

[](#installation)

### 1. Setup

[](#1-setup)

```
composer require netflex/api
```

> **Note**: If you are using [Netflex SDK](https://github.com/netflex-sdk/sdk) 2.0 or later, or Laravel 5.5, the steps 2 and 3, for providers and aliases, are unnecessaries. Netflex API supports [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).

### 2. Provider

[](#2-provider)

You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your `config/app.php` file adding the following code at the end of your `'providers'` section:

> `config/app.php`

```
