PHPackages                             gueststream/bookingconfirmation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gueststream/bookingconfirmation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gueststream/bookingconfirmation
===============================

Booking confirmation class used in response to successful bookings.

1.0.1(9y ago)0181MITPHPPHP ~5.5|~7.0

Since Jul 6Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Gueststream-Inc/BookingConfirmation)[ Packagist](https://packagist.org/packages/gueststream/bookingconfirmation)[ Docs](https://github.com/Gueststream-Inc/BookingConfirmation)[ RSS](/packages/gueststream-bookingconfirmation/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

Booking Confirmation Class
==========================

[](#booking-confirmation-class)

[![Latest Version on Packagist](https://camo.githubusercontent.com/48d9762ac7f48ae820b5ec1882619796aee2e22a6b73a204c728ef60689294cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f677565737473747265616d2f626f6f6b696e67636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gueststream/bookingconfirmation)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b6ca0b9de0d83e4f2fbf5fb5f0a3f8834a43100ba2e69cd828a4cddd32c68b1e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f477565737473747265616d2d496e632f426f6f6b696e67436f6e6669726d6174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Gueststream-Inc/BookingConfirmation)[![Coverage Status](https://camo.githubusercontent.com/230f41386f2262fc94c36ed7a1ffebfa088501b6b8d3b9eca6e7e92e96ad2b6a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f677565737473747265616d2d696e632f626f6f6b696e67636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gueststream-inc/bookingconfirmation/code-structure)[![Quality Score](https://camo.githubusercontent.com/1fa5de387867439f45679e4864f9f36b7eed1a2eaa401ced75b967f764e4976f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f677565737473747265616d2d696e632f626f6f6b696e67636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gueststream-inc/bookingconfirmation)[![Total Downloads](https://camo.githubusercontent.com/f4cf6bb557f731686076e0035aa7fbc26ef725f8e8a414ac7d130bdfc2d7b795/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677565737473747265616d2f626f6f6b696e67636f6e6669726d6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gueststream/bookingconfirmation)

This is a simple value object class that contains booking confirmation information and is used in the [VRPConnector](https://github.com/Gueststream-Inc/VRPConnector/) plugin on the confirmation page to display information to the guests who have just successfully booked a unit.

Install
-------

[](#install)

Via Composer

```
$ composer require gueststream/bookingconfirmation
```

Usage
-----

[](#usage)

```
$bookingConfirmation = new Gueststream\Reservations\BookingConfirmation();
$bookingConfirmation->setBookingNumber(1234);
$bookingConfirmation->setArrivalDate('2020-12-01');
$bookingConfirmation->setDepartureDate('2020-12-7');
echo $bookingConfirmation->getNights();
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Josh Houghtelin](https://github.com/jhoughtelin)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~6 days

Total

2

Last Release

3639d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/1f32ae1f0bf9491a59f474478c6344e37034667512769884f00d31c8d1568757?d=identicon)[druid628](/maintainers/druid628)

---

Top Contributors

[![jhoughtelin](https://avatars.githubusercontent.com/u/6137941?v=4)](https://github.com/jhoughtelin "jhoughtelin (9 commits)")

---

Tags

gueststreamBooking Confirmation

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gueststream-bookingconfirmation/health.svg)

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

###  Alternatives

[cpx/cpx

Run any command from any composer package, even if it's not installed in your project.

40814.5k1](/packages/cpx-cpx)[monero-integrations/monerophp

A Monero library written in PHP by the Monero-Integrations team.

12525.6k1](/packages/monero-integrations-monerophp)[elgentos/magento2-product-duplicate-images-remove

Magento 2 find duplicate product images from your product list and from this list you can easily remove them by running a command

201.9k](/packages/elgentos-magento2-product-duplicate-images-remove)[jkuchar/multiplefileupload

Multiple upload form control for Nette framework.

104.4k1](/packages/jkuchar-multiplefileupload)

PHPackages © 2026

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