PHPackages                             shopping/shoppi - 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. shopping/shoppi

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

shopping/shoppi
===============

Shopp!ng User Authentication Library

074PHP

Since Mar 26Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

\#Shopping User Authentication Library Laravel package to help with consuming the Shopp!ng API

Laravel 4.2 and Above
---------------------

[](#laravel-42-and-above)

You may install this package by either of the following ways:

1. Through Composer -- edit your project's composer.json file to require shopping/shoppi.

Next, update Composer by running: `composer update --dev`

2. Directly through command line, -- run `composer require shopping/shoppi:dev-master`

Once the operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

```
'Shopping\Shoppi\ShoppiServiceProvider'

```

To optionally make your experience easier, you may also add `Shopping\Shoppi\Shopping` to the Facades array list.

That's all! You are now set to authenticate to the Shopp!ng API.

Basic Authentication Example
----------------------------

[](#basic-authentication-example)

To authenticate a user, it is required that you supply a username and password that the user will be authenticated with. This may be flashed to the Session with the password encrypted internally using Laravel Bcrypt class or sent directly to the `Shopping::authenticate` method.

E.g. to login a user

```
if(Shopping::authenticate($email, $password))
{
  dd(Session::get('apiUser');
}

```

The above code should dump the user's detail as stored in the session after API authentication.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![xwiz](https://avatars.githubusercontent.com/u/3619843?v=4)](https://github.com/xwiz "xwiz (2 commits)")

### Embed Badge

![Health badge](/badges/shopping-shoppi/health.svg)

```
[![Health](https://phpackages.com/badges/shopping-shoppi/health.svg)](https://phpackages.com/packages/shopping-shoppi)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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