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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sulu-extended-account-bundle

SuluExtendedAccountBundle

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

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

๐Ÿ‘ฉ๐Ÿปโ€๐Ÿญ 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

Opening Hours

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:

๐Ÿงถ 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

PHP Build Version
Package Version
Requires php Version ^8.2
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package manuxi/sulu-extended-account-bundle contains the following files

Loading the files please wait ...