PHPackages                             advanced-store/oauth2-api-client - 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. advanced-store/oauth2-api-client

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

advanced-store/oauth2-api-client
================================

176PHP

Since Oct 20Pushed 10y ago7 watchersCompare

[ Source](https://github.com/advancedSTORE/api-client)[ Packagist](https://packagist.org/packages/advanced-store/oauth2-api-client)[ RSS](/packages/advanced-store-oauth2-api-client/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Creative Commons License](https://camo.githubusercontent.com/627f8381f39aaac7fd5516a4eb37d169132626708878080d77999e11b1321eea/687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f6c2f62792d6e632d6e642f342e302f38307831352e706e67)](http://creativecommons.org/licenses/by-nc-nd/4.0/)
This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License](http://creativecommons.org/licenses/by-nc-nd/4.0/).

API Client
==========

[](#api-client)

This package adds functionality to laravel which allows you to get user permissions through the o2client.

1. Installation
---------------

[](#1-installation)

#### via Composer

[](#via-composer)

First add the following line to your **composer.json** .

`"advanced-store/api-client": "dev-master"`Run this command in you CLI.

`composer update`This package will require the `advanced-store/oauth2-client` to work properly.

2. Configuration
----------------

[](#2-configuration)

#### Publish package config

[](#publish-package-config)

Run the following command if you are installing for the first time.

```

    php artisan config:publish advanced-store/api-client

```

Add following lines to your app.php.

#### Provider

[](#provider)

```

    'AdvancedStore\ApiClient\ApiClientServiceProvider',

```

#### Aliases

[](#aliases)

```

    'YourAlias' => 'AdvancedStore\ApiClient\Facades\ApiClientFacade',,

```

3. Usage
--------

[](#3-usage)

 Now you can get the user permissions by calling `'YourAlias'::getUserPermissions()`

 In combination with the `advanced-store/access-filter` package the access-filter config will be filled with the user permission as default.

4. Methods
----------

[](#4-methods)

- getUserPermissions()

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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/a4ce006ef5b39b9d837fb4b74d896b34002c347175d245350e789332e96c5e7e?d=identicon)[JayJayOne](/maintainers/JayJayOne)

![](https://www.gravatar.com/avatar/b25753c82bed76fed41c46b043e66bd0deeec51e6bff9a2959c2c54d1e0f9dba?d=identicon)[nomnom](/maintainers/nomnom)

![](https://www.gravatar.com/avatar/246197031cb854a91208027415eaac92ffde87752ac76bbc0d3dcbc75b1ccb4f?d=identicon)[StephanAS](/maintainers/StephanAS)

### Embed Badge

![Health badge](/badges/advanced-store-oauth2-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/advanced-store-oauth2-api-client/health.svg)](https://phpackages.com/packages/advanced-store-oauth2-api-client)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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