common-gateway/xxllnc-to-ktb-bundle

An example package for creating symfony flex bundles as plugins

0.0.8 2024-10-11 10:43 UTC

This package is auto-updated.

Last update: 2024-12-11 11:19:42 UTC


README

This repository is for creating PHP Symfony flex bundles. The Common Gateway ecosystem uses this template for rapid development to extend Gateway functionlity outside of the Core.

The first section is about installing plugins. The latter part is about custom plugins to extend Common Gateway functionality.

Installation with the Common Gateway admin user-interface

Once a bundle is set up correctly (like this repository), the Common Gateway can discover the bundle without additional configuration. Head to the Plugins tab to search, select and install plugins.

Installing with PHP commands

To execute the following command, you will need Composer or a dockerized installation that already has PHP and Composer.

The Composer method in the terminal and root folder:

for the installation of the plugin

$composer require common-gateway/xxllnc-to-ktb-bundle:dev-main

for the installation of schemas

$php bin/console commongateway:install common-gateway/xxllnc-to-ktb-bundle

The dockerized method in the terminal and root folder:

for the installation of the plugin

$docker-compose exec php composer require common-gateway/xxllnc-to-ktb-bundle:dev-main

for the installation of schemas

$docker-compose exec php bin/console commongateway:install common-gateway/xxllnc-to-ktb-bundle