manuxi/sulu-extended-account-bundle

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

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/manuxi/sulu-extended-account-bundle

v1.0.0 2026-02-18 23:57 UTC

This package is auto-updated.

Last update: 2026-02-19 00:06:38 UTC


README

php workflow symfony workflow License: MIT GitHub Tag Supports Sulu 3.0 or later

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

Company data

OPenings

English | 🇩🇪 Deutsch

Documentation

Quick Start

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],
];

Add the admin routes to config/routes/routes_admin.yaml:

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

Update the database schema:

php bin/console doctrine:schema:update --force

For detailed instructions see the Installation Guide.

Dependencies

This bundle requires the SuluAdminExtrasBundle for the business_hours, public_holidays and holiday_dates content types.

Twig Functions

The bundle provides Twig functions for frontend use:

Function Returns Description
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 holiday

See Features for usage examples.

Configuration

There is no configuration required at this time.

Contributing

Please feel comfortable submitting issues or pull requests. Feedback to improve the bundle is always welcome.

License

This bundle is released under the MIT License.