Download the PHP package actualizer/information-bar without Composer

On this page you can find all versions of the php package actualizer/information-bar. 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 information-bar

ActInformationBar - Shopware Plugin

A Shopware 6 plugin that displays a customizable, time-controlled information bar at the top of your storefront with dynamic messaging capabilities.

Features

Requirements

Installation

Via Composer (recommended)

Manual

  1. Download or clone this plugin into your custom/plugins/ directory
  2. Install and activate the plugin via CLI:

Updating

Nothing has to be re-entered. On update, all settings that used to live in the plugin configuration (appearance, timing, texts) are copied into the bar itself. The storefront keeps showing the same bar with the same texts, colors and schedule; everything is now maintained under Content → Information bar, and the plugin configuration only shows an info banner.

If a shop overrode one of the plugin's Sass variables ($act-information-bar-*) in its own theme, that override is superseded by the value configured on the bar from 1.5.0 onward. The variables remain in place as fallbacks for empty values.

Configuration

Everything is maintained under Content → Information bar. The plugin configuration (Settings → System → Plugins → Actualize: Time-controlled Information Bar) only shows an info banner; it no longer holds any settings.

  1. Go to Admin Panel → Content → Information bar
  2. The list shows every bar across all sales channels; use "Add bar" to create a new one or open an existing one
  3. Pick the language via the language switch on the detail page to edit that language's texts
  4. Edit the fields and save

Each bar belongs to one sales channel (or "All Sales Channels") and can have its own schedule and appearance. A bar without a start and end date runs permanently; a bar with a schedule supersedes the permanent bar of the same sales channel while its window is active and hands display back to it afterwards. Among overlapping scheduled bars, the one with the later start date wins. A bar can be duplicated from the list's context menu; the copy's start and end dates are cleared so it does not immediately compete with the original.

When saving a bar, the detail page warns (without blocking the save) if the end date is not after the start date, or if a start or end date falls on a day when the configured timezone's clock changes.

Configuration Options

Bars

Texts are translatable per language: if a language has no text of its own, the plugin falls back to the default language of the sales channel, then to the system default language, and only then to the global record — in that order. An empty message in one language therefore never makes the bar disappear. The message decides: the first record and language with a non-empty message supplies all four texts. Filling in only a button text while leaving the message of that language empty means the whole language is skipped and the button text is never shown. Appearance and schedule are not translatable — they belong to the bar, not to a language.

Defaults

The defaults page (Content → Information bar → Defaults) holds the values that are copied into a bar when it is created — the same appearance fields listed above, plus the timezone. It does not affect existing bars; changing a default only changes what a newly created bar starts out with.

The timezone setting is the shop's timezone for evaluating start and end dates, independent of the sales channel and independent of any individual admin user's profile timezone. If left unset, it falls back to the server timezone (PHP's date.timezone setting, then the TZ environment variable), and only uses UTC if neither yields a valid identifier.

How it works

Display Logic

  1. Time Control: Bar displays only within configured date range
  2. AJAX Awareness: Automatically hidden during AJAX requests
  3. Page Integration: Injected at the top of the page body
  4. Extension System: Uses Shopware's extension system for clean integration

Message Rotation

Integration Points

Technical Details

Events Used

Data Storage

Template Structure

JavaScript Features

Development

Building/Testing

After making changes:

Debugging

Usage Examples

The examples list message and button texts together with the appearance values they go with. All of it is maintained on a bar under Content → Information bar.

Simple Announcement

Time-Limited Sale

Maintenance Notice

Multiple Rotating Lines

Each line is shown in turn. The bar reserves the width of the longest line, so the button keeps its position while the lines rotate.

Styling Tips

High Contrast

Display Duration

Responsive Design

Compatibility

Known Limitations

Support

For issues and feature requests, please use the GitHub issue tracker.

License

This plugin is licensed under the MIT License - see the LICENSE file for details.

Credits

Developed by Actualize


Made with ❤️ for the Shopware Community


All versions of information-bar with dependencies

PHP Build Version
Package Version
Requires shopware/core Version >=6.7 <6.8
shopware/storefront Version >=6.7 <6.8
php Version >=8.4
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 actualizer/information-bar contains the following files

Loading the files please wait ...