tbpixel / drupalorm
This package is abandoned and no longer maintained.
No replacement package was suggested.
Drupal Object Relational Mappings
dev-master
2019-02-25 17:50 UTC
This package is auto-updated.
Last update: 2020-01-25 19:41:46 UTC
README
NOTE: This project is unsupported and it is highly recommended that users reach for ORM implementations such as Doctrine or Eloquent.
Installation
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();