PHP code example of setono / sylius-restock-notification-plugin

1. Go to this page and download the library: Download setono/sylius-restock-notification-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

setono / sylius-restock-notification-plugin example snippets



# config/bundles.php
return [
    Setono\SyliusRestockNotificationPlugin\SetonoSyliusRestockNotificationPlugin::class => ['all' => true],
    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
    
    // ...
    
    Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true],
];
bash
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate