PHPackages                             domtomproject/wubookapi-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. domtomproject/wubookapi-bundle

ActiveSymfony-bundle[API Development](/categories/api)

domtomproject/wubookapi-bundle
==============================

Bundle which helps handle wubook.net API

0.1(8y ago)057MITPHPPHP &gt;=7.0

Since May 29Pushed 8y ago2 watchersCompare

[ Source](https://github.com/DomTomProject/wubookapi-bundle)[ Packagist](https://packagist.org/packages/domtomproject/wubookapi-bundle)[ Docs](https://github.com/kamwoz/wubookapi-bundle)[ RSS](/packages/domtomproject-wubookapi-bundle/feed)WikiDiscussions master Synced 4d ago

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

WubookAPIBundle
===============

[](#wubookapibundle)

**Notice:** Bundle is stable but not every method mentioned in wubook API docs is implemented. (feel free to contribute)

WubookAPIBundle performs request to wubook.net API, it's Symfony2 bundle. This bundle completly takes the responsibility of handling token. It saves it under you cache directory and always use it. Even if you don't have token managed it will acquire it for you (of course if your config is properly filled)

Implemented methods
-------------------

[](#implemented-methods)

```
acquire_token, release_token, is_token_valid, provider_info,
fetch_rooms, room_images, new_reservation, fetch_bookings,
fetch_booking, fetch_rooms_values, cancel_reservation, update_avail,
update_sparse_avail, fetch_new_bookings, new_room, mod_room, del_room,
push_url, mark_bookings, push_activation, push_update_activation, push_update_url

```

More coming soon

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

[](#installation)

```
$ composer require kamwoz/wubookapi-bundle "dev-master"

```

In AppKernel.php

```
new Kamwoz\WubookAPIBundle\WubookAPIBundle(),
```

Configure the bundle (all fields are mandatory):

```
# app/config/config.yml
wubook_api:
    client_username: %wubook_api.client_username%
    client_password: %wubook_api.client_password%
    provider_key: ~ #ask support for it
    property_id: ~ #get it from your account
```

```
# app/config/parameters.yml
parameters:
    wubook_api.client_username: yourUsername
    wubook_api.client_password: yourPassword
```

Example usage (docs coming soon)
--------------------------------

[](#example-usage-docs-coming-soon)

```
//some controller
//fetch bookings from last week
$dateFrom = new \DateTime("-1 week");
$dateTo = new \DateTime();
$bookingArrays = $this->get('wubook_api.booking_handler')->fetchBookings($dateFrom, $dateTo);
```

Current services which can be used
----------------------------------

[](#current-services-which-can-be-used)

```
wubook_api.booking_handler
wubook_api.token_handler
wubook_api.room_handler
wubook_api.availability_handler
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.6% 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

3274d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ed2c7670224d53a1f01e55e3d45e83b697e61f80b658bf44608179a00bec279?d=identicon)[DomTomProject](/maintainers/DomTomProject)

---

Top Contributors

[![pajso96](https://avatars.githubusercontent.com/u/19478539?v=4)](https://github.com/pajso96 "pajso96 (19 commits)")[![kamwoz](https://avatars.githubusercontent.com/u/8014391?v=4)](https://github.com/kamwoz "kamwoz (9 commits)")[![tomsonis](https://avatars.githubusercontent.com/u/13666319?v=4)](https://github.com/tomsonis "tomsonis (4 commits)")[![DomTomProject](https://avatars.githubusercontent.com/u/25922861?v=4)](https://github.com/DomTomProject "DomTomProject (1 commits)")

---

Tags

apiSymfony2wubook

### Embed Badge

![Health badge](/badges/domtomproject-wubookapi-bundle/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[nilportugues/jsonapi-bundle

Symfony 2 &amp; 3 JSON API Transformer Package

11446.0k](/packages/nilportugues-jsonapi-bundle)[mremi/url-shortener-bundle

Implementation of UrlShortener library for Symfony2/Symfony3

19135.0k](/packages/mremi-url-shortener-bundle)

PHPackages © 2026

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