tbpixel / drupalorm
Drupal Object Relational Mappings
Installs: 167
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
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();