PHPackages                             atournayre/acceptance-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. atournayre/acceptance-bundle

AbandonedSymfony-bundle

atournayre/acceptance-bundle
============================

Acceptance bundle for Symfony 4

02PHP

Since Mar 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/atournayre/acceptance-bundle)[ Packagist](https://packagist.org/packages/atournayre/acceptance-bundle)[ RSS](/packages/atournayre-acceptance-bundle/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Acceptance bundle
=================

[](#acceptance-bundle)

The acceptance bundle helps managing software acceptance.

---

What this bundle for ?
----------------------

[](#what-this-bundle-for-)

Use this bundle to activate environment for a given period.

Sometimes, you want your customer to have acces to acceptance environment only for 3 or 7 days.

Getting Started
---------------

[](#getting-started)

```
$ composer require atournayre/acceptance-bundle

```

Configuring
-----------

[](#configuring)

Enable the bundle

```
# config/bundles.php
return [
    // ...
    Atournayre\AcceptanceBundle\AtournayreAcceptanceBundle::class => ['all' => true],
    // ...
];
```

Using parameters.yml ?

```
# app/config/parameters.yml
parameters:
  atournayre_acceptance.is_enabled: true # true to enable / false to disable
  atournayre_acceptance.start_date_time: "2021-01-01 00:00:00" # 2021-01-01 is also valid
  atournayre_acceptance.end_date_time: "2021-01-02 00:00:00" # 2021-01-02 is also valid
```

Using .env ?

```
# .env / .env.local.php
return array (
  // ...
  // ACCEPTANCE_IS_ENABLED : true / false
  'ACCEPTANCE_IS_ENABLED' => true,
  // ACCEPTANCE_START_DATETIME : "2021-03-25 00:00:00" / "2021-03-25"
  'ACCEPTANCE_START_DATETIME' => "2021-03-25 00:00:00",
  // ACCEPTANCE_END_DATETIME : "2021-03-25 00:00:00" / "2021-03-25"
  'ACCEPTANCE_END_DATETIME' => "2021-02-29 23:59:59",
  // ...
);
```

```
# config/services.yaml
parameters:
  atournayre_acceptance.is_enabled: '%env(ACCEPTANCE_IS_ENABLED)%'
  atournayre_acceptance.start_date_time: '%env(ACCEPTANCE_START_DATETIME)%'
  atournayre_acceptance.end_date_time: '%env(ACCEPTANCE_END_DATETIME)%'
```

Production
----------

[](#production)

In production, simply disable the bundle.

Using parameters.yml ?

```
# app/config/parameters.yml
parameters:
  atournayre_acceptance.is_enabled: false
```

Using .env ?

```
# .env / .env.local.php
return array (
  // ...
  'ACCEPTANCE_IS_ENABLED' => false,
  // ...
);
```

```
# config/services.yaml
parameters:
  atournayre_acceptance.is_enabled: '%env(ACCEPTANCE_IS_ENABLED)%'
```

Overriding templates
--------------------

[](#overriding-templates)

Using Symfony 4.4.\* ?

```
$ mkdir -p templates/bundles/AtournayreAcceptanceBundle
$ cp -r vendor/atournayre/acceptance-bundle/Resources/views/. templates/bundles/AtournayreAcceptanceBundle

```

Templates are now ready for customization!

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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/be702ea3d10de6d97d83c32866fc9cfe1830a055e7f8b685c8434ccad40416c1?d=identicon)[atournayre](/maintainers/atournayre)

---

Top Contributors

[![atournayre](https://avatars.githubusercontent.com/u/4262077?v=4)](https://github.com/atournayre "atournayre (16 commits)")

### Embed Badge

![Health badge](/badges/atournayre-acceptance-bundle/health.svg)

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

PHPackages © 2026

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