Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.02 KB

Readme.md

File metadata and controls

52 lines (39 loc) · 1.02 KB

PrestaShop 1.7 TrainingBundle

Sample Symfony bundle for PrestaShop 1.7.

Install

DON'T USE ON PRODUCTION SERVER

Add in composer.json :

"repositories" : [
    {
        "type" : "vcs",
        "url" : "https://github.com/frederic-benoist/training-bundle.git"
    }
],

Lancer composer .

    composer require frederic-benoist/training-bundle dev-master

Add in app/AppKernel.php

    ...
    new TrainingBundle\TrainingBundle(),

Add in app/config/routing.yml

    ...
    training:
        resource: "@TrainingBundle/Resources/config/routing.yml"

clear symfony cache

php bin/console cache:clear --env=prod
php bin/console cache:clear --env=dev

Try new controller

http://....myshop.../admin.../index.php/hello

Licensing

Licensed under the Open Software License (OSL) v3.0.

About Prestashop

Prestashop is an ecommerce application licensed under the OSL v3.0 license. ©PrestaShop, Inc.