PHPackages                             sebbahnouri/yalidine - 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. sebbahnouri/yalidine

ActiveLibrary[API Development](/categories/api)

sebbahnouri/yalidine
====================

This is Laravel package For Yalidine Api

22575[1 PRs](https://github.com/sebbahali/Yalidine-Dz-Laravel-Api/pulls)PHP

Since Jan 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/sebbahali/Yalidine-Dz-Laravel-Api)[ Packagist](https://packagist.org/packages/sebbahnouri/yalidine)[ RSS](/packages/sebbahnouri-yalidine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Yalidine-Dz-Laravel-Api

laravel package For Yalidine Api

in composer.json

```
    "minimum-stability": "dev"
```

then

```
composer require sebbahnouri/yalidine
```

\#add in config app.php in providers

```
  Sebbahnouri\Yalidine\Providers\YaledineServiceProvider::class
```

\#publish the config file

```
php artisan vendor:publish --tag=Yale-config
```

then add in your env file
=========================

[](#then-add-in-your-env-file)

```
API_ID=******
API_TOKEN=*******
```

take it from Yalidine website

\#invoke the singleton

```
use Sebbahnouri\Yalidine\Yalidine;

$yalidine = app(Yalidine::class);
```

\#Retrieve the parcels

```
$yalidine->retrieveParcels()  for all the parcels
```

or

```
$trackings=['yal-205643','yal-454FU'];

$yalidine->retrieveParcels($trackings);
```

\#Retrieve the Histories to get all

```
$status='';
```

or

```
 $status='Livré';
 $yalidine->deliveredParcels($status)
```

\#Create the parcels

```
$parcels = array( // the array that contains all the parcels
     array ( // first parcel
       "order_id"=>"MyFirstOrder",
             "from_wilaya_name"=>"Batna",
             "firstname"=>"Brahim",
             "familyname"=>"Mohamed",
             "contact_phone"=>"0123456789,",
             "address"=>"Cité Kaidi",
             "to_commune_name"=>"Bordj El Kiffan",
             "to_wilaya_name"=>"Alger",
             "product_list"=>"Presse à café",
             "price"=>3000,
             "height"=> 10,
             "width" => 20,
             "length" => 30,
             "weight" => 6,
             "freeshipping"=> true,
             "is_stopdesk"=> true,
             "stopdesk_id" => 163001,
             "has_exchange"=> 0,
             "product_to_collect" => null
     ),
     array ( // second parcel
     "order_id" =>"MySecondOrder",
             "from_wilaya_name"=>"Batna",
             "firstname"=>"رفيدة",
             "familyname"=>"بن مهيدي",
             "contact_phone"=>"0123456789",
             "address"=>"حي الياسمين",
             "to_commune_name"=>"Ouled Fayet",
             "to_wilaya_name"=>"Alger",
             "product_list"=>"كتب الطبخ",
             "price"=>2400,
             "height" => 10,
             "width" => 20,
             "length" => 30,
             "weight" => 6,
             "freeshipping"=>0,
             "is_stopdesk"=>0,
             "has_exchange"=> false,
     ),
     array ( // third parcel
         ...
     ),
     array( // etc
         ...
     )
 );

$yalidine->createParcels($parcels)
```

\#Delete the parcels

```
$trackings=['yal-205643','yal-454FU'];
$yalidine->deleteParcels($trackings)
```

\#Retrieve the delivery fees

```
$wilaya_id=['13','14'];
$yalidine->retrieveDeliveryfees($wilaya_id);
```

\#or all using

```
$yalidine->retrieveDeliveryfees();
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.2% 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/48b84baa36248b8da0967e7737e3b43f96402e17b8df5b0a77e482539d8ece67?d=identicon)[nourisebbah](/maintainers/nourisebbah)

---

Top Contributors

[![sebbahali](https://avatars.githubusercontent.com/u/125546478?v=4)](https://github.com/sebbahali "sebbahali (23 commits)")[![H-ishak](https://avatars.githubusercontent.com/u/71776062?v=4)](https://github.com/H-ishak "H-ishak (3 commits)")[![RamziBenssaci](https://avatars.githubusercontent.com/u/129678228?v=4)](https://github.com/RamziBenssaci "RamziBenssaci (1 commits)")

### Embed Badge

![Health badge](/badges/sebbahnouri-yalidine/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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