Download the PHP package derniercri/sylius-settings-plugin without Composer
On this page you can find all versions of the php package derniercri/sylius-settings-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download derniercri/sylius-settings-plugin
More information about derniercri/sylius-settings-plugin
Files in derniercri/sylius-settings-plugin
Package sylius-settings-plugin
Short Description Add a settings panel to your Sylius.
License MIT
Informations about the package sylius-settings-plugin
Settings for Sylius
This plugin gives you the ability to have Plugins oriented settings in your favorite e-commerce platform, Sylius.
Installation
Install the plugin via composer:
For the installation without flex, follow these additional steps
Change your `config/bundles.php` file to add this line for the plugin declaration: Copy the plugin configuration files in your `config` folder:
Update your database:
Continue to "How it works" to add your first setting for your store.
Note: you may encounter an error during the installation via composer if you let it run the scripts.
Copy the configuration files and rerun the composer require
, it should work. This is due to the use of other plugins in the DI.
The configuration is then required to run any console command.
How it works
As a good start you can have a look at:
- The configuration file to add your own settings.
- The form with your own fields.
Then you can get your settings using a twig function: setting()
.
Have a look at this example.
You can also use the DI to get your Settings, as example with the settings in the test Application app.default
:
Note: the "Settings" menu won't appear until you have at least one setting.
Contributing
You can find a way to run the plugin without effort in the file DEVELOPMENT.md.
Then you can open an issue or a Pull Request if you want! 😘
Thank you!
License
This plugin is completely free and released under the MIT License.
All versions of sylius-settings-plugin with dependencies
ext-mbstring Version *
ext-json Version *
sylius/sylius Version ^1.10