PHPackages                             abdallahmohammed/alsaad-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. abdallahmohammed/alsaad-laravel

ActiveLibrary

abdallahmohammed/alsaad-laravel
===============================

Laravel Package for Alsaad2's PHP Client

v1.0.0(6y ago)0271MITPHPPHP ^5.6|^7.1CI failing

Since May 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AbdallaMohammed/alsaad-laravel)[ Packagist](https://packagist.org/packages/abdallahmohammed/alsaad-laravel)[ RSS](/packages/abdallahmohammed-alsaad-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

Introduction
------------

[](#introduction)

This is a simple Laravel Service Provider providing access to the [Alsaad PHP Client Library](https://github.com/AbdallaMohammed/alsaad-php).

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

[](#installation)

To install the PHP client library using Composer:

```
composer install abdallahmohammed/alsaad-laravel

```

Alternatively, add these two lines to your composer require section:

```
{
    "require": {
        "abdallahmohammed/alsaad-laravel": "^1.0.0"
    }
}
```

#### Laravel 5.5+

[](#laravel-55)

If you're using Laravel 5.5 or above, the package will automatically register the Alsaad provider and facade.

#### Laravel 5.4 and below

[](#laravel-54-and-below)

Add `Alsaad\Laravel\AlsaadServiceProvider` to the providers array in your config/app.php:

```
'providers' => [
    // Other service providers...
    Alsaad\Laravel\AlsaadServiceProvider::class,
],
```

If you want to use the facade interface, you can `use` the facade class when needed:

```
use Alsaad\Laravel\Facade\Alsaad;
```

Or add an alias in your `config/app.php`:

```
'aliases' => [
    ...
    'Alsaad' => Alsaad\Laravel\Facade\Alsaad::class,
],
```

#### Using with Lumen

[](#using-with-lumen)

alsaad-laravel works with Lumen too! You'll need to do a little work by hand to get it up and running. First, install the package using composer:

```
composer install abdallahmohammed/alsaad-laravel

```

Next, we have to tell Lumen that our library exists. Update `bootstrap/app.php` and register the `AlsaadServiceProvider`:

```
$app->register(Alsaad\Laravel\AlsaadServiceProvider::class);
```

Finally, we need to configure the library. Unfortunately Lumen doesn't support auto-publishing files so you'll have to create the config file yourself by creating a config directory and copying the config file out of the package in to your project:

```
mkdir config
cp vendor/alsaad/laravel/config/alsaad.php config/alsaad.php

```

At this point, set `ALSAAD_USERNAME` and `ALSAAD_PASSWORD` in your `.env` file and it should be working for you. You can test this with the following route:

```
$router->get('/', function () use ($router) {
    app(Alsaad\Client::class);
});
```

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

[](#configuration)

You can use `artisan vendor:publish` to copy the distribution configuration file to your app's config directory:

```
php artisan vendor:publish

```

Then update `config/alsaad.php` with your credentials. Alternatively, you can update your `.env` file with the following:

```
ALSAAD_USERNAME=my_username
ALSAAD_PASSWORD=my_password

```

Usage
-----

[](#usage)

To use the Alsaad Client Library you can use the facade, or request the instance from the service container:

```
Alsaad::message()->send([
    'to'   => '848393837',
    'from' => '438337393',
    'message' => 'Hello World'
]);
```

Or

```
$nexmo = app('Alsaad\Client');

$nexmo->message()->send([
    'to'   => '848393837',
    'from' => '438337393',
    'message' => 'Hello World'
]);
```

For more information on using the Alsaad client library, see the [PHP Library](https://github.com/AbdallaMohammed/alsaad-php)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2193d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/528edaaf4cec2c4872feecfe766beb012b234e9479334fa3cdf216d7b180fca9?d=identicon)[AbdullahMohamedRezk](/maintainers/AbdullahMohamedRezk)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abdallahmohammed-alsaad-laravel/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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