Download the PHP package alengo/alengo-webspace-settings-bundle without Composer

On this page you can find all versions of the php package alengo/alengo-webspace-settings-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 alengo-webspace-settings-bundle

Sulu AlengoWebspaceSettingsBundle

Sometimes you need to store values that are not directly related to a specific page or content type, but rather to the entire webspace. This Sulu bundle provides a way to manage such settings in a structured manner.

Requirements

Install the bundle

Execute the following composer command

Enable the bundle

Enable the bundle by adding it to the list of registered bundles in the /config/bundles.php file of your project:

Configure the Bundle

Set the following config in your /config/routes/sulu_admin.yaml

Make sure you've set the correct permissions in the Sulu backend for this bundle! Settings > User Roles

Type Selection

Set the property types you want to provide in /config/packages/alengo_webspace_settings.yaml

or execute the following command to copy it automatically:

Twig Extension

The bundle provides a Twig extension to render the webspace settings in your templates. You can use the webspaceSettings function to retrieve the settings for a specific webspace and typeKey.

with localization

Blocks

The bundle supports blocks for webspace settings. Copy the webspace_settings_blocks.xml in your project to the following path:

or execute the following command to copy it automatically:

Adjust the blocks as needed in your project.

Events

The bundle dispatches the following events:

Create an event listener in your project to listen to these events and perform any necessary actions when webspace settings are created or updated. It is recommended to use the settings type Event.

Upgrade

Please read the UPGRADE.md file for upgrade instructions.


All versions of alengo-webspace-settings-bundle with dependencies

PHP Build Version
Package Version
Requires ext-iconv Version *
php Version ^8.2
sulu/sulu Version ^3.0
symfony/config Version ^7.2
symfony/dependency-injection Version ^7.2
symfony/framework-bundle Version ^7.2
symfony/http-foundation Version ^7.2
symfony/http-kernel Version ^7.2
symfony/serializer Version ^7.2
symfony/twig-bundle Version ^7.2
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 alengo/alengo-webspace-settings-bundle contains the following files

Loading the files please wait ...