PHPackages                             stellarsecurity/user-laravel - 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. stellarsecurity/user-laravel

ActiveLibrary

stellarsecurity/user-laravel
============================

Stellar Security - User API client for Laravel (register, login, password reset, profile lookups).

1.0.4(2mo ago)0308MITPHPPHP &gt;=8.1

Since Nov 29Pushed 2mo agoCompare

[ Source](https://github.com/StellarSecurity-Packages/stellarsecurity-user-laravel)[ Packagist](https://packagist.org/packages/stellarsecurity/user-laravel)[ RSS](/packages/stellarsecurity-user-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (12)Used By (0)

Stellar Security – User API Laravel Client
==========================================

[](#stellar-security--user-api-laravel-client)

Small Laravel helper package that talks to the **Stellar User API**
(create users, login, password reset, profile lookups).

Install
-------

[](#install)

```
composer require stellarsecurity/user-laravel
```

Laravel package auto-discovery will register the service provider and facade.

Configure
---------

[](#configure)

Publish the config (optional):

```
php artisan vendor:publish --provider="StellarSecurity\UserApiLaravel\StellarUserServiceProvider" --tag=config
```

In your `.env` you must point to the **real secrets** used for basic auth:

```
# Which env vars actually contain the username/password
STELLAR_USER_USERNAME_KEY=APPSETTING_API_USERNAME_STELLAR_USER_API
STELLAR_USER_PASSWORD_KEY=APPSETTING_API_PASSWORD_STELLAR_USER_API

# These keys must exist and contain the real credentials
APPSETTING_API_USERNAME_STELLAR_USER_API=your-username
APPSETTING_API_PASSWORD_STELLAR_USER_API=your-password

# Optional: override base URL (for staging / local)
STELLAR_USER_BASE_URL=https://stellaruserapiprod.azurewebsites.net/api/
```

Usage
-----

[](#usage)

You can **type-hint** the client:

```
use StellarSecurity\UserApiLaravel\UserApiClient;

class RegisterController
{
    public function store(UserApiClient $users)
    {
        $response = $users->create([
            'email' => 'user@example.com',
            'password' => 'secret',
        ]);

        if ($response->failed()) {
            // handle error
        }

        return $response->json();
    }
}
```

Or use the **facade**:

```
use StellarSecurity\UserApiLaravel\Facades\StellarUser;

// Create user
$res = StellarUser::create([
    'email' => 'user@example.com',
    'password' => 'secret',
]);

// Login
$auth = StellarUser::auth([
    'email' => 'user@example.com',
    'password' => 'secret',
]);

// Send reset password link
StellarUser::sendResetPasswordLink('user@example.com', 'CONFIRM-CODE-123');

// Verify reset code + set new password
StellarUser::verifyResetPasswordConfirmationCode(
    'user@example.com',
    'CONFIRM-CODE-123',
    'new-password-here',
);

// Fetch profile by ID
$profile = StellarUser::user('123')->json();
```

What is Stellar Security?
-------------------------

[](#what-is-stellar-security)

Stellar Security is building a Swiss-based privacy &amp; security ecosystem:
hardened phones, VPN, antivirus, secure cloud and developer SDKs.

This package is just a small building block – a clean Laravel wrapper
around the Stellar User API so your apps can register, authenticate and
manage Stellar users with a few lines of code.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance87

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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.

###  Release Activity

Cadence

Every ~11 days

Recently: every ~26 days

Total

11

Last Release

63d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/202a0dadbfb1854b49f12eb4b6eb3c1d2eeddebaf79feae169ae402386a5e9d8?d=identicon)[stellar-security-os](/maintainers/stellar-security-os)

---

Top Contributors

[![stellar-security-os](https://avatars.githubusercontent.com/u/150491881?v=4)](https://github.com/stellar-security-os "stellar-security-os (8 commits)")[![bleko1234](https://avatars.githubusercontent.com/u/14978903?v=4)](https://github.com/bleko1234 "bleko1234 (1 commits)")

### Embed Badge

![Health badge](/badges/stellarsecurity-user-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/stellarsecurity-user-laravel/health.svg)](https://phpackages.com/packages/stellarsecurity-user-laravel)
```

PHPackages © 2026

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