manuxi/sulu-additional-contact-data-bundle

Say hello to Sulu additional contact data!

1.0.0 2023-09-27 21:45 UTC

This package is not auto-updated.

Last update: 2024-12-13 02:08:18 UTC


README

GitHub license GitHub license

I made this bundle to have the possibility to manage additional properties in the contact. Please feel comfortable submitting feature requests. This bundle is still in development. Use at own risk ๐Ÿคž๐Ÿป

๐Ÿ‘ฉ๐Ÿปโ€๐Ÿญ Installation

Install the package with:

composer require manuxi/sulu-additional-contact-data-bundle

If you're not using Symfony Flex, you'll also need to add the bundle in your config/bundles.php file:

return [
    //...
    Manuxi\SuluAdditionalContactDataBundle\SuluAdditionalContactDataBundle::class => ['all' => true],
];

Please add the following to your routes_admin.yaml:

SuluAdditionalContactDataBundle:
    resource: '@SuluAdditionalContactDataBundle/Resources/config/routes_admin.yml'

Last but not least the schema of the database needs to be updated.

Some properties in co_contacts will be created.

See the needed queries with

php bin/console doctrine:schema:update --dump-sql

Update the schema by executing

php bin/console doctrine:schema:update --force

Make sure you only process the bundles schema updates!

๐Ÿงถ Configuration

There exists no configuration yet.

๐Ÿ‘ฉโ€๐Ÿณ Contributing

For the sake of simplicity this extension was kept small. Please feel comfortable submitting issues or pull requests. As always I'd be glad to get your feedback to improve the extension :).