Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sherlockode/syliusnorbrplugin
SyliusNorbrPlugin
https://github.com/sherlockode/syliusnorbrplugin
php sylius
Last synced: about 4 hours ago
JSON representation
SyliusNorbrPlugin
- Host: GitHub
- URL: https://github.com/sherlockode/syliusnorbrplugin
- Owner: sherlockode
- Created: 2021-12-03T17:08:12.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T16:44:49.000Z (almost 3 years ago)
- Last Synced: 2024-04-18T08:22:39.154Z (7 months ago)
- Topics: php, sylius
- Language: PHP
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sylius Norbr Plugin
## Overview
This plugin allows you to use Norbr to manage credit card payments on your e-commerce site.
## Installation
Install the plugin with composer :
```shell
$ composer require sherlockode/sylius-norbr-plugin
```If your project does not use autoload, you have to enable the bundle yourself:
```php
// config/bundle.phpreturn [
...
Sherlockode\SyliusNorbrPlugin\SherlockodeSyliusNorbrPlugin::class => ['all' => true],
];
```To complete the installation, don't forget to publish assets:
```shell
$ php bin/console assets:install
```## Configuration
Update your sylius installation by importing bundle configuration:
```yaml
# config/packages/_sylius.yamlimports:
# ...- { resource: "@SherlockodeSyliusNorbrPlugin/Resources/config/config.yaml" }
```Then import routes:
```yaml
# config/routes.yamlsherlockode_sylius_norbr_plugin:
resource: "@SherlockodeSyliusNorbrPlugin/Resources/config/routing.xml"
```That's it ! Now you can enable the Norbr payment method in your admin panel.