PHPackages                             dlin/saasu-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. [API Development](/categories/api)
4. /
5. dlin/saasu-bundle

ActiveLibrary[API Development](/categories/api)

dlin/saasu-bundle
=================

A Syfmony 2 Bundle for Saasu using the Saasu PHP Client library

v1.0.2(12y ago)021MITPHPPHP &gt;=5.3.8

Since Dec 2Pushed 12y ago1 watchersCompare

[ Source](https://github.com/dlin-me/saasu-bundle)[ Packagist](https://packagist.org/packages/dlin/saasu-bundle)[ Docs](http://dlin.me)[ RSS](/packages/dlin-saasu-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Dlin Symfony Saasu Bundle
=========================

[](#dlin-symfony-saasu-bundle)

Dlin Saasu Bundle is Symfony2 wrapper bundle for the [Saasu PHP Client](https://github.com/dlin-me/saasu) library. Please refer to the documentation for details usage.

This Saasu Bundle provides a configurable service to work with Saasu

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

[](#installation)

Installation using [Composer](http://getcomposer.org/)

Add to your `composer.json`:

```
json
{
    "require" :  {
        "dlin/saasu-bundle": "dev-master"
    }
}

```

Enable the bundle in you AppKernel.php

```
public function registerBundles()
{
    $bundles = array(
    ...
    new Dlin\Bundle\SaasuBundle\DlinSaasuBundle(),
    ...
}

```

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

[](#configuration)

For example:

```
#app/config/config.yml

dlin_saasu:
    wsaccesskey: D4A92597762C4FDCAF66FF03C988B7B2
    file_uid: 41555

```

Usage
-----

[](#usage)

Geting the service in a controller

```
$service =  $this->get('dlin.saasu_service');

```

Getting the service in a ContainerAwareService

```
$service = $this->container->get('dlin.saasu_service');

```

The service provide one method to return an instance of Dlin\\Saasu\\SaasuAPI, for details example please look at the [Saasu PHP Client](https://github.com/dlin-me/saasu) library

```
$api = $service->getApi();

```

Contacting the Saasu web service API could be slow. If you do not need instant result from the service, you can delay execution of the your tasks to improve user experience.

For example, if all you want to do is to create an Invoice in Saasu and you don't need instant response ( Invoice id or any error ). You can improve user experience by delaying execution of the task:

```
//get the service
$service =  $this->get('dlin.saasu_service');

//create an invoice object
$invoice = new Invoice();

//populate invoice with data
$invoice->transactionType = 'S';
...
//This will create the Invoice straightaway, user will experience minor delay
$service->getApi()->saveEntity($invoice);

//This will postpone Invoice creation till HTTP respond is sent to user
$service->schedule('saveEntity', $invoice);

```

This is most useful in creating, updating or deleting entities though all Api methods can be postponded in similar way. You can if you want, to perform a postponed/scheduled search or load. But it is useless as the result is not reachable.

Example for scheduling an Invoice deletion follows:

```
$service->schedule('deleteEntity', $invoice);

```

License
-------

[](#license)

MIT

*Free Software, Yeah!*

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

4593d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1905715?v=4)[David Lin](/maintainers/dlin-me)[@dlin-me](https://github.com/dlin-me)

---

Top Contributors

[![david-lin-au](https://avatars.githubusercontent.com/u/16718785?v=4)](https://github.com/david-lin-au "david-lin-au (1 commits)")

---

Tags

symfonysaasu

### Embed Badge

![Health badge](/badges/dlin-saasu-bundle/health.svg)

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

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

46784.5k5](/packages/deepseek-php-deepseek-php-client)[prooph/service-bus-symfony-bundle

88393.4k3](/packages/prooph-service-bus-symfony-bundle)

PHPackages © 2026

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