Skip to content
This repository has been archived by the owner. It is now read-only.
Drupal Object Relational Mappings
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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.


Require as a composer dependency with composer require tbpixel/drupalorm:dev-master

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();
You can’t perform that action at this time.