2017 © Pedro Peláez
 

package drupalorm

Drupal Object Relational Mappings

image

tbpixel/drupalorm

Drupal Object Relational Mappings

  • Tuesday, July 24, 2018
  • by TBPixel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 97 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 45 % Grown

The README.md

Drupal Object Relational Mappings

NOTE: This project is unsupported and it is highly recommended that users reach for ORM implementations such as Doctrine or Eloquent., (*1)

Installation

Require as a composer dependency with composer require tbpixel/drupalorm:dev-master, (*2)

How to use

use TBPixel\DrupalORM\Models\Node\Node;

// Returns the first node in the database
$node = Node::all()->first();
// Or you can use object instantiation
$node = (new Node)->first();

The Versions

24/07 2018

dev-master

9999999-dev

Drupal Object Relational Mappings

  Sources   Download

MIT

by Tony Barry