2017 © Pedro Peláez
 

library nette-propel2

Propel 2 integration with Nette framework

image

livioribeiro/nette-propel2

Propel 2 integration with Nette framework

  • Thursday, May 15, 2014
  • by livioribeiro
  • Repository
  • 2 Watchers
  • 1 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

NettePropel2

Propel 2 integration with Nette Framework, (*1)

Configuration

Can be used as compiler extension:, (*2)

    extensions:
        - NettePropel2\PropelExtension

or calling setup() in bootstrap.php:, (*3)

  use NettePropel2;
  ...
  $container = $configurator->createContainer();
  NettePropel2\Setup::setup($container)

You can use both Neon or PHP to configure the database (If both are present, the php will be preferred)., (*4)

In propel.local.php:, (*5)

  $database = [
      'default' => [
          'adapter'     => 'sqlite|pgsql|mysql|oracle|mssql',
          'host'        => 'host',
          'dbname'      => 'dbname',
          'user'        => 'user',
          'password'    => 'password'
      ]
  ];

Or propel.local.neon:, (*6)

  default:
    adapter: sqlite|pgsql|mysql|oracle|mssql
    host: host
    dbname: dbname
    user: user
    password: password

Schema and shell

You schema.xml must be on app/schema directory., (*7)

To run propel commands (model:build, migration:diff, etc) use the npropel shell instead of propel. The npropel script will set the --input-dir, --output-dir and --connection parameters to your project., (*8)

  ln -s vendor/bin/npropel propel

The Versions

15/05 2014

dev-master

9999999-dev https://github.com/livioribeiro/NettePropel2

Propel 2 integration with Nette framework

  Sources   Download

BSD-3-Clause

The Requires

 

orm database nette propel2

15/05 2014

1.0.1

1.0.1.0 https://github.com/livioribeiro/NettePropel2

Propel 2 integration with Nette framework

  Sources   Download

BSD-3-Clause

The Requires

 

orm database nette propel2

03/03 2014

1.0.0

1.0.0.0 https://github.com/livioribeiro/NettePropel2

Propel 2 integration with Nette framework

  Sources   Download

BSD-3-Clause

The Requires

 

orm database nette propel2

24/02 2014

1.0.0-rc

1.0.0.0-RC https://github.com/livioribeiro/NettePropel2

Propel 2 integration with Nette framework

  Sources   Download

BSD 3-Clause

The Requires

 

orm database nette propel2

19/02 2014

1.0.0-beta

1.0.0.0-beta https://github.com/livioribeiro/NettePropel2

Propel 2 integration with Nette framework

  Sources   Download

BSD 3-Clause

The Requires

 

orm database nette propel2