2017 © Pedro Peláez
 

library fluent

A fluent PHP mapping driver for Doctrine2.

image

laravel-doctrine/fluent

A fluent PHP mapping driver for Doctrine2.

  • Tuesday, February 27, 2018
  • by patrickbrouwers
  • Repository
  • 6 Watchers
  • 29 Stars
  • 40,736 Installations
  • PHP
  • 8 Dependents
  • 1 Suggesters
  • 10 Forks
  • 6 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

Fluent Mapping Driver

, (*1)

GitHub release Packagist License Github actions, (*2)

A fluent mapping driver for Doctrine2, (*3)

composer require laravel-doctrine/fluent

This mapping driver allows you to manage your mappings in an Object Oriented approach, separating your entities from your mapping configuration without the need for configuration files like XML or YAML. This is done by implementing the LaravelDoctrine\Fluent\Mapping interface, or extending the abstract classes provided with this package for an easier use: LaravelDoctrine\Fluent\EntityMapping, LaravelDoctrine\Fluent\EmbeddableMapping or MappedSuperClassMapping., (*4)

This package provides a fluent Builder over Doctrine's ClassMetadataBuilder, aimed at easing usage of Doctrine's mapping concepts in Laravel. The builder adds syntax sugar and implements the same grammar that you might use in Laravel migrations., (*5)

class ScientistMapping extends EntityMapping
{
    /**
     * Returns the fully qualified name of the class that this mapper maps.
     *
     * @return string
     */
    public function mapFor()
    {
        return Scientist::class;
    }

    /**
     * Load the object's metadata through the Metadata Builder object.
     *
     * @param Fluent $builder
     */
    public function map(Fluent $builder)
    {
        $builder->increments('id');
        $builder->embed(Name::class, 'name');

        $builder->hasMany(Theory::class, 'theories')->ownedBy('scientist');
    }
}

The Versions

27/02 2018

1.1.x-dev

1.1.9999999.9999999-dev

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

27/02 2018

1.1.6

1.1.6.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

27/02 2018

dev-doctrine-2.6

dev-doctrine-2.6

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

04/07 2017

dev-alt-path-loader

dev-alt-path-loader

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

04/07 2017

dev-feature/paths-loader

dev-feature/paths-loader

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

04/07 2017

1.1.5

1.1.5.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

02/07 2017

dev-feature/indexable-columns

dev-feature/indexable-columns

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

02/07 2017

1.1.4

1.1.4.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

28/06 2017

dev-feature/entityListeners

dev-feature/entityListeners

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

28/06 2017

dev-fix/lifecyclecallbacks

dev-fix/lifecyclecallbacks

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

10/05 2016

1.1.3

1.1.3.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

22/04 2016

1.1.2

1.1.2.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

07/04 2016

1.0.x-dev

1.0.9999999.9999999-dev

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

07/04 2016

1.0.1

1.0.1.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

07/04 2016

1.1.1

1.1.1.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

07/04 2016

1.1.0

1.1.0.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver

30/01 2016

1.0.0

1.0.0.0

A fluent PHP mapping driver for Doctrine2.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Patrick Brouwers
by Guido Contreras Woda

orm database laravel doctrine data mapper fluent mappings mapping driver