2017 © Pedro Peláez
 

project shophp

Simple PHP shop structure built on Nette Framework

image

shophp/shophp

Simple PHP shop structure built on Nette Framework

  • Tuesday, April 5, 2016
  • by VladaHejda
  • Repository
  • 0 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ShoPHP

Simple PHP shop structure built on Nette Framework, (*1)

Installation

require __DIR__ . '/../vendor/autoload.php';

$configurator = new Nette\Configurator;

$configurator->setDebugMode([]);
$configurator->enableDebugger(__DIR__ . '/../log');
$configurator->setTempDirectory(__DIR__ . '/../temp');

\ShoPHP\ShoPHP::initialize($configurator);

$configurator->addConfig(__DIR__ . '/path/to/your/config/config.neon');

return $configurator->createContainer();
  • create cli-config.php in root folder:
use Doctrine\ORM\EntityManagerInterface;

$container = require __DIR__ . "/path/to/your/bootstrap.php";

$entityManager = $container->getByType(EntityManagerInterface::class);
return \Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet($entityManager);
  • execute vendor/bin/shophp-db-update.bat f

The Versions

05/04 2016

dev-master

9999999-dev

Simple PHP shop structure built on Nette Framework

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires