2017 © Pedro Peláez
 

library app-doctrine

Integrates doctrine in to the weew/app package.

image

weew/app-doctrine

Integrates doctrine in to the weew/app package.

  • Sunday, August 28, 2016
  • by weew
  • Repository
  • 1 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 21 Versions
  • 0 % Grown

The README.md

App doctrine provider

Build Status Code Quality Test Coverage Version Licence, (*1)

Table of contents

Installation

composer require weew/app-doctrine, (*2)

Introduction

This package integrates doctrine/orm and doctrine/migrations into the weew/app framework., (*3)

Usage

Simply register the DoctrineProvider class on the application kernel:, (*4)

$app = new App();
$app->getKernel()->addProviders([
    DoctrineProvider::class,
]);

Example config

This is how your config might look like in yaml:, (*5)

doctrine:
  debug: true

  cache_path: path/to/cache
  proxy_classes_path: path/to/proxies
  metadata_format: "yaml" or "annotations"

  # required if metadata_format is "annotations"
  entities_paths:
    path/to/entities: Namespace\To\Entities

  # required if metadata_format is "yaml"
  entities_mappings:
    app:
      path: path/to/entities
      namespace: Some\Entities
    bundle:
      path: path/to/bundle/entities
      namespace: Other\Entities

  config:
    driver: pdo_mysql
    host: database_hostname
    dbname: database_name
    user: database_user
    password: database_password

  migrations:
    namespace: migrations/namespace
    path: migrations/directory/path
    table: migrations_table_name

Doctrine console

You can run doctrine console tool like this:, (*6)

$doctrineProvider->runConsoleRunner();

The Versions

28/08 2016

dev-master

9999999-dev

Integrates doctrine in to the weew/app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

28/08 2016
21/07 2016

v1.16.1

1.16.1.0

Integrates doctrine in to the weew/app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

30/05 2016

v1.16.0

1.16.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

30/05 2016

v1.15.0

1.15.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

25/05 2016

v1.14.0

1.14.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

23/05 2016

v1.13.0

1.13.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

13/04 2016

v1.12.0

1.12.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

01/04 2016

v1.11.0

1.11.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

31/03 2016

v1.10.0

1.10.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

18/03 2016

v1.9.0

1.9.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

18/03 2016

v1.8.0

1.8.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

02/03 2016

v1.7.0

1.7.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

01/03 2016

v1.6.0

1.6.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

22/02 2016

v1.5.0

1.5.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott

26/01 2016

v1.4.0

1.4.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott

19/01 2016

v1.3.0

1.3.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott

19/01 2016

v1.2.0

1.2.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott

15/01 2016

v1.1.1

1.1.1.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott

15/01 2016

v1.1.0

1.1.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott

15/01 2016

v1.0.0

1.0.0.0

Integrates doctrine in to the weew/php-app package.

  Sources   Download

MIT

The Requires

  • doctrine/orm ^2.5
  • weew/php-container-doctrine-integration ^1.0
  • weew/php-config ^1.2
  • weew/php-app ^1.2

 

The Development Requires

by Maxim Kott