Download the PHP package manuxi/sulu-extended-account-bundle without Composer
On this page you can find all versions of the php package manuxi/sulu-extended-account-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download manuxi/sulu-extended-account-bundle
More information about manuxi/sulu-extended-account-bundle
Files in manuxi/sulu-extended-account-bundle
Package sulu-extended-account-bundle
Short Description A Sulu bundle to extend the account entity with additional properties.
License MIT
Homepage https://github.com/manuxi/SuluExtendedAccountBundle
Informations about the package sulu-extended-account-bundle
SuluExtendedAccountBundle
English | ๐ฉ๐ช Deutsch
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).
๐ Prerequisites
- PHP 8.2 or higher
- Sulu CMS 3.0 or higher
- Symfony 6.2 / 7.0 or higher
- SuluAdminExtrasBundle (installed automatically as a dependency)
๐ฉ๐ปโ๐ญ Installation
Step 1: Install the package
If you are not using Symfony Flex, register the bundle in config/bundles.php:
Step 2: Configure routing
Add the following to config/routes/routes_admin.yaml:
Step 3: Update database schema
Important: Make sure you only process the schema updates related to this bundle.
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:
B) Update assets/admin/app.js
Import the bundle:
C) Install & Build
For detailed instructions see the Installation Guide.
โจ Features
Company Data
- Commercial register number, registry court, descriptor and claim
Opening Hours
- Weekly business hours schedule with time slots and breaks
- Public holidays via Nager.Date API integration
- Company holidays / closure periods
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.
๐ Documentation
Detailed documentation in the docs/ directory:
- Installation - Full installation guide
- Features - Feature overview and Twig usage examples
๐งถ Configuration
No additional configuration is required at this time.
๐ฉโ๐ณ Contributing
Contributions are welcome! Please create issues or pull requests. Feedback to improve the bundle is always welcome.
๐ License
This bundle is released under the MIT License.
๐ Credits
Created and maintained by manuxi.
Thanks to the Sulu team for the great CMS and the fantastic support!
All versions of sulu-extended-account-bundle with dependencies
doctrine/doctrine-bundle Version ^2.13
manuxi/sulu-admin-extras-bundle Version ^1.4.1
sulu/sulu Version ^3.0
symfony/config Version ^6.2 | ^7.0
symfony/dependency-injection Version ^6.2 | ^7.0
symfony/framework-bundle Version ^6.2 | ^7.0
symfony/http-foundation Version ^6.2 | ^7.0
symfony/http-kernel Version ^6.2 | ^7.0
symfony/intl Version ^6.2 | ^7.0
symfony/translation Version ^6.2 | ^7.0
symfony/security-core Version ^6.2 | ^7.0