PHPackages                             lasri/postmaster-bundle - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. lasri/postmaster-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

lasri/postmaster-bundle
=======================

postmaster bundle

110PHP

Since Nov 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/medy36/MLPostMasterBundle)[ Packagist](https://packagist.org/packages/lasri/postmaster-bundle)[ RSS](/packages/lasri-postmaster-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MLPostMasterBundle
==================

[](#mlpostmasterbundle)

Symfony2 bundle for PostMaster API ()

License
-------

[](#license)

MLPostMasterBundle is licensed under the MIT License - see the Resources/meta/LICENSE file for details

Requirements
------------

[](#requirements)

```
    "require": {
			"php": ">=5.3.2",
			"symfony/framework-bundle": "2.*"
			},

```

Installation:
-------------

[](#installation)

- add to your composer.json in the require section: ` "lasri/postmaster-bundle": "dev-master"`
- install your dependecies:

    `	php composer.phar require  "lasri/postmaster-bundle": "dev-master" `
- add the bundle to your AppKernel:

    `  new ML\PostMasterBundle\MLPostMasterBundle(),`
- in your config.yml

```
ml_post_master:
    	api_key: **********your api key here ***************

```

Issues
------

[](#issues)

Please use appropriately tagged github issues to request features or report bugs.

\###Usage:

```

	$postmaster = $this->get('postmaster');
	$add= $postmaster->getAddressValidation();
    	$addR= $add->validate(array("company" => "Postmaster Inc.",
		"contact" => "Joe Smith",
		"line1" => "701 Brazos St. Suite 1616",
		"city" => "Austin",
		"state" => "TX",
		"zip_code" => "78701",
		"country" => "US",
    	));

        var_dump($addR);

        $tran = $postmaster->getTransitTimes();
        $tranR = $tran->get(
        array(
	        "from_zip" => "78701",
	        "to_zip" => "78709",
	        "weight" => 22.5,
	        "carrier" => "fedex",
        ));

        var_dump($tranR);

        $rate = $postmaster->getRates();
        $rateR = $rate->get(array(
	        "from_zip" => "78701",
	        "to_zip" => "78704",
	        "weight" => 0.5,
	        "carrier" => "fedex",
        ));

        var_dump($rateR);

        $ship = $postmaster->getShipment();
        $shipR = $ship->create(array(
	        "to" => array(
	        "company" => "Postmaster Inc.",
	        "contact" => "Louardi Abdeltif",
	        "line1" => "701 Brazos St. Suite 1616",
	        "city" => "Austin",
	        "state" => "TX",
	        "zip_code" => "78701",
	        "phone_no" => "512-693-4040",
        ),
        "from" => array(
        "company" => "Postmaster Inc.",
        "contact" => "Joe Smith",
        "line1" => "701 Brazos St. Suite 1616",
        "city" => "Austin",
        "state" => "TX",
        "zip_code" => "78701",
        "phone_no" => "512-693-4040",
        ),
        "carrier" => "fedex",
        "service" => "2DAY",
        "package" => array(
        "weight" => 1.5,
        "length" => 10,
        "width" => 6,
        "height" => 8,
        "label" =>array(
            "format" => "NORMAL",
            ),
        ),
        ));

        var_dump($shipR);

        /* monitor external package */
        $trac = $postmaster->getTracking();
        $tracR = $trac->monitor_external(array(
	        "tracking_no" => "1ZW470V80310800043",
	        "url" => "http://example.com/your-http-post-listener",
	        "events" => ["Delivered", "Exception"]
        ));

        var_dump($tracR);

        /* create box example */
        $pack = $postmaster->getPackage();
        $packR = $pack->create(array(
	        "width" => 10,
	        "height" => 12,
	        "length" => 8,
	        "name" => 'My Box'
        ));
        var_dump($packR);

        die;
        ```

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![medy36](https://avatars.githubusercontent.com/u/3038020?v=4)](https://github.com/medy36 "medy36 (12 commits)")

### Embed Badge

![Health badge](/badges/lasri-postmaster-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lasri-postmaster-bundle/health.svg)](https://phpackages.com/packages/lasri-postmaster-bundle)
```

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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