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

ActiveLibrary[API Development](/categories/api)

stellarsecurity/stellar-laravel-devices
=======================================

Stellar Devices API client for Laravel

v1.0.1(5mo ago)0106proprietaryPHPPHP &gt;=8.1

Since Dec 10Pushed 5mo agoCompare

[ Source](https://github.com/StellarSecurity-Packages/stellar-laravel-devices)[ Packagist](https://packagist.org/packages/stellarsecurity/stellar-laravel-devices)[ RSS](/packages/stellarsecurity-stellar-laravel-devices/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Stellar Laravel Devices
=======================

[](#stellar-laravel-devices)

stellarsecurity/stellar-laravel-devices is a Laravel package providing a complete client wrapper for the Stellar Devices API.

Features
--------

[](#features)

- Add/register devices
- Delete devices
- List all devices under an identifier
- Static human-friendly device name generator
- Laravel auto-discovery (service provider + facade)

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

[](#installation)

```
composer require stellarsecurity/stellar-laravel-devices
```

Configuration
-------------

[](#configuration)

```
php artisan vendor:publish --provider="StellarSecurity\DeviceApi\StellarDeviceServiceProvider" --tag=config
```

Add to your `.env`:

```
STELLAR_DEVICE_API_BASE_URL="https://stellardevicesapiprod.azurewebsites.net/api/"
APPSETTING_API_USERNAME_STELLAR_DEVICE_API="your-api-username"
APPSETTING_API_PASSWORD_STELLAR_DEVICE_API="your-api-password"
STELLAR_DEVICE_API_TIMEOUT=10
```

### Custom device-name pool

[](#custom-device-name-pool)

By default, the package ships with a built-in JSON name pool at `resources/names.json` (thousands of names) to reduce collisions.

You can override the pool in `config/stellar-device.php`:

```
return [
  // ...
  'names' => ['Allison', 'Arthur', 'Ana'],
  'names_path' => storage_path('app/device-names.json'),
];
```

The JSON file can be either:

- An array: `[...]`
- Or an object: `{ "names": [...] }`

Usage Example
-------------

[](#usage-example)

```
use StellarDevice;

// Add device
$response = StellarDevice::add('customer-123', 'Office MacBook', true);

// Or: generate a human-friendly random name
$name = StellarDevice::randomName();
$response = StellarDevice::add('customer-123', $name, true);

// Or: let the package pick a random name for you
$response = StellarDevice::addRandom('customer-123', true);

// List devices
$response = StellarDevice::devices('customer-123');

// Delete device
$response = StellarDevice::delete('customer-123', 'Office MacBook');
```

API Methods
-----------

[](#api-methods)

- `add(string $identifier, string $name, bool $returnDevices = false)`
- `addRandom(string $identifier, bool $returnDevices = false)`
- `delete(string $identifier, string $name)`
- `devices(string $identifier)`
- `names(int $count = 25, bool $withSuffix = false)`
- `randomName(bool $withSuffix = false)`

License
-------

[](#license)

Proprietary – part of the Stellar Security ecosystem.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance73

Regular maintenance activity

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~51 days

Total

2

Last Release

154d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150491881?v=4)[Bob](/maintainers/stellar-security-os)[@stellar-security-os](https://github.com/stellar-security-os)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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