PHPackages                             yasserbelhimer/laravel-yalidine-dz-api - 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. yasserbelhimer/laravel-yalidine-dz-api

ActiveLibrary[API Development](/categories/api)

yasserbelhimer/laravel-yalidine-dz-api
======================================

Yalidine API

v1.0(4y ago)14617MITPHPPHP ^7.3|^8.0

Since Oct 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yasserbelhimer/laravel-yalidine-dz-api)[ Packagist](https://packagist.org/packages/yasserbelhimer/laravel-yalidine-dz-api)[ RSS](/packages/yasserbelhimer-laravel-yalidine-dz-api/feed)WikiDiscussions main Synced today

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

laravel-yalidine-dz-api
=======================

[](#laravel-yalidine-dz-api)

Simple laravel package to use Yalidine dz API

Installation, and Usage Instructions
------------------------------------

[](#installation-and-usage-instructions)

This package allows you to consume Yalidine dz Api using laravel.

```
composer require yasserbelhimer/laravel-yalidine-dz-api

```

First at all generate your api and token in yalidine website

Set API ID and API TOKEN in the .env

```
YALIDINE_API_ID= your yalidine api id
YALIDINE_API_TOKEN= your yalidine api token
```

Once installed you can do stuff like this:

To know more about arguments and parametres check yalidine API documentation.
-----------------------------------------------------------------------------

[](#to-know-more-about-arguments-and-parametres-check-yalidine-api-documentation)

Get your parcels:
-----------------

[](#get-your-parcels)

To get all your parcels pass an empty array to getParcels(\[\]) function.

```
    $parcels = Yalidine::getParcels([]);
```

To get some specific parcels pass an array of tracking parcels getParcels($trackings) function.

```
    $trackings = ['YAL-PAR1','YAL-PAR2'....]; // list of your parcels tracking
    $parcels = Yalidine::getParcels($trackings);
```

Create one or many new parcels:
-------------------------------

[](#create-one-or-many-new-parcels)

To create new parcels pass an array of parcels to createParcels($parcels) function.

```
    $parcels = array( // the array that contains all the parcels
        array ( // first parcel
            "order_id"=>"MyFirstOrder",
            "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,
            "freeshipping"=> true,
            "is_stopdesk"=> false,
            "has_exchange"=> 0,
            "product_to_collect" => null
        ),
        array ( // second parcel
            "order_id" =>"MySecondOrder",
            "firstname"=>"رفيدة",
            "familyname"=>"بن مهيدي",
            "contact_phone"=>"0123456789",
            "address"=>"حي الياسمين",
            "to_commune_name"=>"Ouled Fayet",
            "to_wilaya_name"=>"Alger",
            "product_list"=>"كتب الطبخ",
            "price"=>2400,
            "freeshipping"=>0,
            "is_stopdesk"=>0,
            "has_exchange"=> false,
        ),
        array ( // third parcel
            ...
        ),
        array( // etc
            ...
        )
    );
    $response = Yalidine::createParcels($parcels );
```

This function will return an array of object:

```
    {
    "MyFirstOrder": {
        "success": true,
        "order_id": "MyFirstOrder",
        "tracking": "yal-12345A",
        "import_id": 234
    },
    "MySecondOrder": {
        "success": true,
        "order_id": "MySecondOrder",
        "tracking": "yal-67891B",
        "import_id": 234
    }
}
```

Delete one or many parcels
--------------------------

[](#delete-one-or-many-parcels)

To delete parcels pass an array of tracking parcels to deleteParcels($trackings) function.

```
    $trackings = ['YAL-PAR1','YAL-PAR2'....]; // list of your parcels tracking
    $deliveryFees = Yalidine::deleteParcels($trackings);
```

Get the delivery fees
---------------------

[](#get-the-delivery-fees)

```
    $deliveryFees = Yalidine::getDeliveryFees();
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

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

1731d ago

### Community

Maintainers

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

---

Top Contributors

[![yasserbelhimer](https://avatars.githubusercontent.com/u/56972095?v=4)](https://github.com/yasserbelhimer "yasserbelhimer (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yasserbelhimer-laravel-yalidine-dz-api/health.svg)

```
[![Health](https://phpackages.com/badges/yasserbelhimer-laravel-yalidine-dz-api/health.svg)](https://phpackages.com/packages/yasserbelhimer-laravel-yalidine-dz-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1123.7k](/packages/codebar-ag-laravel-docuware)

PHPackages © 2026

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