2017 © Pedro Peláez
 

library entity-fragment

Reusable traits for Symfony Entities

image

mabetiz/entity-fragment

Reusable traits for Symfony Entities

  • Thursday, May 10, 2018
  • by ThibaultPelloquin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

EntityFragment

Provides reusable features as Traits for Entities in Symfony 4., (*1)

Uses Doctrine., (*2)

List of available fragments (Traits)

  • CreatedAtUpdatedAtTrait
    • \DateTime $createdAt (on create)
    • \DateTime $updatedAt (on update)
  • StateTrait
    • int $state - A static array $availableStates has to be defined in the parent Entity (please, do NOT use the 0 key value)
  • StatusTrait
    • bool $status (on/off)

ToDo List of fragments

  • User (login/pwd)
  • People (gender, title, name, firstname, birthdate)
  • ContactInfo (phone, mobilephone, email)
  • Address (address1, address2, city, zipcode)
  • Geolocation (latt, long, alt)

The Versions

10/05 2018

dev-master

9999999-dev

Reusable traits for Symfony Entities

  Sources   Download

WTFPL

The Requires

 

30/04 2018

v1.0.0-beta

1.0.0.0-beta

Reusable traits for Symfony Entities

  Sources   Download

WTFPL

The Requires

 

30/04 2018

v1.0.0-alpha

1.0.0.0-alpha

Reusable traits for Symfony Entities

  Sources   Download

WTFPL

The Requires