PHPackages                             manuxi/sulu-extended-account-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. manuxi/sulu-extended-account-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

manuxi/sulu-extended-account-bundle
===================================

A Sulu bundle to extend the account entity with additional properties.

v1.0.0(4mo ago)10MITPHPPHP ^8.2CI passing

Since Feb 18Pushed 3mo agoCompare

[ Source](https://github.com/manuxi/SuluExtendedAccountBundle)[ Packagist](https://packagist.org/packages/manuxi/sulu-extended-account-bundle)[ Docs](https://github.com/manuxi/SuluExtendedAccountBundle)[ RSS](/packages/manuxi-sulu-extended-account-bundle/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (16)Versions (2)Used By (0)

SuluExtendedAccountBundle
=========================

[](#suluextendedaccountbundle)

[![php workflow](https://github.com/manuxi/SuluExtendedAccountBundle/actions/workflows/php.yml/badge.svg)](https://github.com/manuxi/SuluExtendedAccountBundle/actions/workflows/php.yml/badge.svg)[![symfony workflow](https://github.com/manuxi/SuluExtendedAccountBundle/actions/workflows/symfony.yml/badge.svg)](https://github.com/manuxi/SuluExtendedAccountBundle/actions/workflows/symfony.yml/badge.svg)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://github.com/manuxi/SuluExtendedAccountBundle/LICENSE)[![GitHub Tag](https://camo.githubusercontent.com/7c04469822548a1f9ae3bdccab96a9e061ad2cfd542d324762276c0ff73e1800/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6d616e7578692f53756c75457874656e6465644163636f756e7442756e646c65)](https://camo.githubusercontent.com/7c04469822548a1f9ae3bdccab96a9e061ad2cfd542d324762276c0ff73e1800/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6d616e7578692f53756c75457874656e6465644163636f756e7442756e646c65)[![Supports Sulu 3.0 or later](https://camo.githubusercontent.com/1acd578889a1fbe054144d04f3f326418a78683e35a850c9d25cd5377502b6d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756c752d2533453d332e302d3030383863633f636f6c6f723d303062326466)](https://camo.githubusercontent.com/1acd578889a1fbe054144d04f3f326418a78683e35a850c9d25cd5377502b6d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756c752d2533453d332e302d3030383863633f636f6c6f723d303062326466)

**English** | [🇩🇪 Deutsch](README.de.md)

A Sulu bundle to extend the account entity with company data, business hours, public holidays and company holidays.

> **Note:** This bundle replaces the former `manuxi/sulu-additional-account-data-bundle` (`SuluAdditionalAccountDataBundle`).

[![Company data](docs/img/additional_data.de.png)](docs/img/additional_data.de.png)

[![Openings](docs/img/openings.de.png)](docs/img/openings.de.png)

📋 Prerequisites
---------------

[](#-prerequisites)

- PHP 8.2 or higher
- Sulu CMS 3.0 or higher
- Symfony 6.2 / 7.0 or higher
- [SuluAdminExtrasBundle](https://github.com/manuxi/SuluAdminExtrasBundle) (installed automatically as a dependency)

👩🏻‍🏭 Installation
-----------------

[](#‍-installation)

### Step 1: Install the package

[](#step-1-install-the-package)

```
composer require manuxi/sulu-extended-account-bundle
```

If you are **not** using Symfony Flex, register the bundle in `config/bundles.php`:

```
return [
    //...
    Manuxi\SuluExtendedAccountBundle\SuluExtendedAccountBundle::class => ['all' => true],
];
```

### Step 2: Configure routing

[](#step-2-configure-routing)

Add the following to `config/routes/routes_admin.yaml`:

```
SuluExtendedAccountBundle:
    resource: '@SuluExtendedAccountBundle/Resources/config/routes_admin.yaml'
```

### Step 3: Update database schema

[](#step-3-update-database-schema)

```
# Preview the required SQL changes
php bin/console doctrine:schema:update --dump-sql

# Apply the changes
php bin/console doctrine:schema:update --force
```

> **Important:** Make sure you only process the schema updates related to this bundle.

### Step 4: Admin assets setup

[](#step-4-admin-assets-setup)

The opening hours features (business hours, public holidays, company holidays) use content types from the **SuluAdminExtrasBundle**. Their JavaScript components must be registered in your admin assets.

**A) Update `assets/admin/package.json`**

Add the dependency for the AdminExtrasBundle:

```
{
    "dependencies": {
        "sulu-admin-extras-bundle": "file:../../vendor/manuxi/sulu-admin-extras-bundle/src/Resources"
    }
}
```

**B) Update `assets/admin/app.js`**

Import the bundle:

```
import 'sulu-admin-extras-bundle';
```

**C) Install &amp; Build**

```
cd assets/admin
npm install
npm run build
```

For detailed instructions see the [Installation Guide](docs/installation.md).

✨ Features
----------

[](#-features)

### Company Data

[](#company-data)

- Commercial register number, registry court, descriptor and claim

### Opening Hours

[](#opening-hours)

- Weekly business hours schedule with time slots and breaks
- Public holidays via Nager.Date API integration
- Company holidays / closure periods

### Twig Functions

[](#twig-functions)

The bundle provides Twig functions for frontend use:

FunctionReturnsDescription`is_open_now(accountId)``bool`Whether the account is currently open`get_business_hours(accountId)``array`Full weekly schedule`get_today_hours(accountId)``array|null`Today's hours`is_holiday(accountId)``bool`Whether today is a holidaySee [Features](docs/features.md) for usage examples.

📖 Documentation
---------------

[](#-documentation)

Detailed documentation in the [docs/](docs/) directory:

- [Installation](docs/installation.md) - Full installation guide
- [Features](docs/features.md) - Feature overview and Twig usage examples

🧶 Configuration
---------------

[](#-configuration)

No additional configuration is required at this time.

👩‍🍳 Contributing
----------------

[](#‍-contributing)

Contributions are welcome! Please create issues or pull requests. Feedback to improve the bundle is always welcome.

📝 License
---------

[](#-license)

This bundle is released under the [MIT License](LICENSE).

🎉 Credits
---------

[](#-credits)

Created and maintained by [manuxi](https://github.com/manuxi).

Thanks to the Sulu team for the great CMS and the fantastic support!

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance78

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ce067feaa3f9ece08d78385c401aab7d72e9e8ee64d77d584f884b6725ad9de?d=identicon)[manuxi](/maintainers/manuxi)

---

Top Contributors

[![manuxi](https://avatars.githubusercontent.com/u/11303615?v=4)](https://github.com/manuxi "manuxi (18 commits)")

---

Tags

account-extensionaccount-managementbusiness-dataextensionopening-hoursorganizationregister-numbersulusulu-30sulu-bundlesulu-cmssulusulucmsextended account

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/manuxi-sulu-extended-account-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/manuxi-sulu-extended-account-bundle/health.svg)](https://phpackages.com/packages/manuxi-sulu-extended-account-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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