Download the PHP package arobases-sylius-public/sylius-back-in-stock-notification-plugin without Composer

On this page you can find all versions of the php package arobases-sylius-public/sylius-back-in-stock-notification-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sylius-back-in-stock-notification-plugin

Back in Stock Notification Plugin

Plugin that add the possibility to receive an email notification when a product return in stock

Build Status

Features

Subscribe to get a Notification when a product return in stock

View your subscriptions in the apposite section of your account

View your client subscriptions in the apposite admin section

Requirements

Installation

  1. Run composer require webgriffe/sylius-back-in-stock-notification-plugin.

  2. Add the plugin to the config/bundles.php file:

  3. Import the plugin routes by creating a file in config/routes/webgriffe_sylius_back_in_stock_notification_plugin.yaml with the follwing content:

  4. Import required config in your config/packages/webgriffe_sylius_back_in_stock_notification_plugin.yaml file:

  5. Finish the installation by updating the database schema and installing assets:

Configuration

This module send mail using a Symfony Command. Unfortunately, the command line context does not know about your VirtualHost or domain name. To fix this, you need to configure the “request context”, which is a fancy way of saying that you need to configure your environment so that it knows what URL it should use when generating URLs. For further information you can see Symfony Documentation.

  1. Edit the config/services.yml file by adding the following content:

  2. As said early this module provide a command that check the stock of the product. You have to set the command bin/console webgriffe:back-in-stock-notification:alert in the crontab, once a day is enough:

Optional Configuration

If you want to use our Behat defined steps you have to include our Behat class in your autoloader-dev. To achieve this adds the following line to your composer.json:

Contributing

To contribute to this plugin clone this repository, create a branch for your feature or bugfix, do your changes and then make sure al tests are passing.

To be able to setup a plugin's database, remember to configure you database credentials in tests/Application/.env and tests/Application/.env.test.

Running plugin tests

Opening Sylius with your plugin

License

This plugin is under the MIT license. See the complete license in the LICENSE file.

Credits

Developed by Webgriffe®.


All versions of sylius-back-in-stock-notification-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3
doctrine/dbal Version ^2.13
doctrine/migrations Version ^3.1
doctrine/orm Version ^2.7
psr/log Version ^1.1
sylius/mailer-bundle Version ^1.5
sylius/resource-bundle Version ^1.6
sylius/sylius Version ^1.8.0
symfony/config Version ^4.4 || ^5.2
symfony/console Version ^4.4 || ^5.2
symfony/dependency-injection Version ^4.4 || ^5.2
symfony/form Version ^4.4 || ^5.2
symfony/framework-bundle Version ^4.4 || ^5.2
symfony/http-foundation Version ^4.4 || ^5.2
symfony/http-kernel Version ^4.4 || ^5.2
symfony/translation Version ^4.4
symfony/translation-contracts Version ^1.1.9
symfony/validator Version ^4.4 || ^5.2
webmozart/assert Version ^1.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package arobases-sylius-public/sylius-back-in-stock-notification-plugin contains the following files

Loading the files please wait ....