2017 © Pedro PelĂĄez
 

sylius-plugin company-data-plugin

Provides a way to create datas for your selling company on Sylius.

image

behappy/company-data-plugin

Provides a way to create datas for your selling company on Sylius.

  • Wednesday, June 27, 2018
  • by Roshyo
  • Repository
  • 4 Watchers
  • 2 Stars
  • 254 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

sylius-company-data-plugin

Provides a way to create datas for your selling company on Sylius., (*1)

This plugin does not provide any useful functionality as is. It is a dependency point for other plugins., (*2)

Installation-procedure

$ composer require behappy/company-data-plugin

Enable the plugin

// in app/AppKernel.php
public function registerBundles() {
    $bundles = array(
        // ...
        new BeHappy\SyliusCompanyDataPlugin\BeHappySyliusCompanyDataPlugin(),
        ...
    );
    // ...
}
#in app/config/config.yml
imports:
    ...
    - { resource: "@BeHappySyliusCompanyDataPlugin/Resources/config/config.yml" }
    ...
# in routing.yml
...

behappy_company_data_plugin:
    resource: '@BeHappySyliusCompanyDataPlugin/Resources/config/routing.yml'
...

Generate database

Simply launch, (*3)

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

That's it !

You now have a new entry in Admin under configuration tab : Company data, (*4)

There you can configure your company(ies) data(s) in order to be used by other plugins., (*5)

Thanks

This plugin is partially inspired by BitBagCommerce/SyliusInvoicingPlugin (https://github.com/BitBagCommerce/SyliusInvoicingPlugin)., (*6)

Feel free to contribute

You can also ask your questions at the mail address in the composer.json mentioning this package., (*7)

Other

You can also check our other packages (including Sylius plugins) at https://github.com/BeHappyCommunication, (*8)

The Versions