Componette

Componette

contributte

contributte / doctrine-orm v0.8.4

Well-integrated Doctrine ORM for Nette Framework

download-cloud-line composer require nettrine/orm

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Usage

To install the latest version of nettrine/orm use Composer.

composer require nettrine/orm

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch Nette PHP
dev ^0.8 master 3.1+ >=8.1
stable ^0.7 master 3.1+ >=7.4

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support contributte development team. Also thank you for using this package.

  • v0.8.4 v0.8.4

    Bumped! ๐Ÿ‡ฐ๐Ÿ‡ฎ

    Diff: v0.8.3...v0.8.4

    Maintenance:

  • v0.8.3 v0.8.3

    Bumped! ๐Ÿ‡ต๐Ÿ‡ท

    Diff: v0.8.2...v0.8.3

    Changes:

  • v0.8.2 v0.8.2

    Bumped! ๐Ÿš‹

    Diff: v0.8.1...v0.8.2

    Changes:

  • v0.8.1 v0.8.1

    Bumped! ๐Ÿš”

    Diff: v0.8.0...v0.8.1

    Changes:

  • v0.8.0 v0.8.0

    Bumped! ๐Ÿ‘จ๐Ÿฝ

    Diff: v0.7.1...v0.8.0

    Changes:

    • PHP 8
    • Travis -> Github Actions
    • PHPUnit -> Nette Tester
  • v0.7.1 v0.7.1

    Bumped! ๐Ÿˆบ

    Diff: v0.7.0...v0.7.1

    Changes:

    • Extension configuration supports string/service/reference at definition:
      • namingStrategy
      • quoteStrategy
      • entityListenerResolver
      • repositoryFactory
    • Better docs
    • Better tests
    • Allow PHP >=7.2
  • v0.7.0 v0.7.0

    Bumped! ๐Ÿ’…

    Diff: v0.6.1...v0.7.0

    Changes:

    • Rework mapping [BC break] [#75]

    Configuration for annotation and xml changed.

    Before

    nettrine.orm.annotations:
      namespaces: [App\Model\Database]
      paths: [%appDir%/Model/Database]

    After

    nettrine.orm.annotations:
      mapping:
        App\Model\Database: %appDir%/Model/Database

    Dropped TEntityMapping, introduced more powerfull EntityHelper.

    Before

    class CategoryExtension extends CompilerExtension
    {
      use TEntityMapping;
    
      public function beforeCompile(): void
      {
        $this->setEntityMappings([
          'Forum' => __DIR__ . '/../Entity',
        ]);
      }
    }

    After

    class CategoryExtension extends CompilerExtension
    {
      public function beforeCompile(): void
      {
        MappingHelper::of($this)
            ->addAnnotation( __DIR__ . '/../app/Model/Database', 'App\Model\Database')
            ->addAnnotation( __DIR__ . '/../../modules/Forum/Database', 'Forum\Modules\Database');
      }
    }
  • v0.3.1 v0.3.1

    Bumped! ๐Ÿ‡ฏ๐Ÿ‡ด

    Diff: v0.3.0...v0.3.1

    Changes:

  • v0.6.1 v0.6.1

    Bumped! ๐Ÿ‡ฏ๐Ÿ‡ด

    Diff: v0.6.0...v0.6.1

    Changes:

  • v0.6.0 v0.6.0

    Bumped! ๐Ÿ˜‚

    Diff: v0.5.0...v0.6.0

    Changes:

    • Allow to register filters [#72] 9fe0db4
    • Simplify EntityManagerDecorator 1004c72
    • Switch mappingDriver to MappingDriverChain [#27]
    • Fix secondLevelCache schema b2fa8b9
    • Sync entityNamespaces schema
    • Polished readme
    • Polished tests
  • v0.5.0 v0.5.0

    Bumped! ๐Ÿ•น๏ธ

    Diff: v0.4.1...v0.5.0

    Changes:

  • v0.4.1 v0.4.1

    Bumped! ๐ŸŽƒ

    Diff: v0.4.0...v0.4.1

    Changes:

    • quoteStrategy config fix bb0ed30
    • removed inner entity manager 6b5384e
    • require nettrine/dbal 0.5 || 0.6 064f584
  • v0.4.0 v0.4.0

    Bumped! ๐Ÿจ

    Diff: v0.3...v0.4.0

    Changes:

  • v0.3 v0.3

    Bumped! ๐Ÿท

    Diff: v0.2.2...v0.3

    Changes:

    • added EntityManagerDecorator, because EntityManager is final [#22][#41]
    • added XML bridge [#42](thanks @JanMikes + @JanGalek)
    • added configurationClass [#46](thanks @aleswita)
    • use Phpstan v0.11
    • improve docs (@mabar, @Gappa)
    • upgrade minimal deps (nette/di, nette/utils, symfony/console, doctrine/orm, doctrine/cache)
  • v0.2.2 v0.2.2

    Bumped! ๐Ÿ•ณ

    Diff: v0.2.1...v0.2.2

    Changes:

    • use Phpstan v0.10
    • OrmCacheExtension: assert there's some cache
    • OrmAnnotationExtension: refactor cache handling
    • readme: synchronize
    • command: added orm:clear-cache:metadata [#31]
    • added TEntityMapping class for modular systems [#34]
    • added SecondLevelCache [#37]
  • v0.2.1 v0.2.1

    Bumped! ๐Ÿˆ‚๏ธ

    Diff: v0.2...v0.2.1

    Changes:

  • v0.2 v0.2

    Bumped! ๐Ÿ”ก

    Diff: v0.1...v0.2

    Changes:

    • cache drivers are not autowired (thanks @jiripudil) [#23]
    • DI: setClass -> setType/setFactory (thanks @MartkCz) [#20]
    • better cache handling/configuring [#12]
    • Annotations: excludePaths (thanks @jankonas) [#19]
    • EntityManagerFactory: autowire event manager [#11]
    • CacheReader: debug parameter (thanks @kedlas) [#13]
    • Console commands: added tags for contributte/console [#14] (common tag console.command)
  • v0.1 v0.1

    First bump! ๐Ÿ‘Š

Componette Componette felix@nette.org