2017 © Pedro Peláez
 

library automatorm

Simple schema-led ORM, with no code generation required

image

brokencube/automatorm

Simple schema-led ORM, with no code generation required

  • Wednesday, April 18, 2018
  • by brokencube
  • Repository
  • 2 Watchers
  • 3 Stars
  • 2,889 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 1 Forks
  • 4 Open issues
  • 89 Versions
  • 4 % Grown

The README.md

AutomatORM

Latest Stable Version Build Status Code Climate, (*1)

A simple to use ORM in PHP, that reads your database schema directly, without having to run code generators, or create schema documents., (*2)

Installation

$ composer require brokencube\automatorm

Requirements

PHP 7.0 + PDO (Currently only MySQL supported - expect to support other engines in the future), (*3)

Basic Example

<?php
use Automatorm\Orm\{Model,Schema};
use Automatorm\DataLayer\Database\Connection;

// Class that is linked to the table "blog" - namespace is linked to a particular schema + connection
namespace models {
  class Blog extends Model {}
}

// Get db connection
$connection = Connection::register($pdo); 

// Get db schema for the ORM and assign to 'models' namespace as above
Schema::generate($connection, 'models');  

// Find a table row based on a simple where clause
$blog = Blog::find(['title' => 'My Blog']); // Select * from blog where title = 'My Blog';

echo $blog->id;     // Prints "1"
echo $blog->title;  // Prints "My First Entry"

A more detailed layout of how to use the ORM can be found in the Wiki, (*4)

The Versions

18/04 2018

dev-master

9999999-dev

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

18/04 2018

6.2.3

6.2.3.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

12/04 2018

6.2.2

6.2.2.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

06/04 2018

6.2.1

6.2.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

04/04 2018

6.2.0

6.2.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

28/03 2018

dev-newquerybuilder

dev-newquerybuilder

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

02/02 2018

6.1.0

6.1.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

06/10 2017

6.0.0

6.0.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

22/08 2017

dev-cross

dev-cross

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

02/08 2017

dev-pre6

dev-pre6

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

24/05 2017

dev-mem

dev-mem

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

22/05 2017

5.0.1.1

5.0.1.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

24/04 2017

5.0.1.0

5.0.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

30/03 2017

dev-fakedata

dev-fakedata

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

22/03 2017

dev-pluggable

dev-pluggable

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

22/03 2017

5.0.0.0

5.0.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

10/03 2017

dev-primary-key

dev-primary-key

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

23/02 2017

4.1.0.0

4.1.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

15/02 2017

4.0.0.1

4.0.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

01/02 2017

4.0.0.0

4.0.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

The Development Requires

orm lightweight

01/02 2017

3.12.0.0

3.12.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

01/02 2017

3.11.1.0

3.11.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

06/01 2017

3.11.0.0

3.11.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

07/12 2016

3.10.0.0

3.10.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

21/11 2016

3.9.0.1

3.9.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

18/11 2016

3.9.0.0

3.9.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

07/11 2016

3.8.0.1

3.8.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

07/11 2016

3.8.0.0

3.8.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

31/10 2016

3.7.0.1

3.7.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

19/09 2016

3.7.0.0

3.7.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

16/09 2016

3.6.0.0

3.6.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

30/08 2016

3.5.2.0

3.5.2.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

09/08 2016

3.5.1.0

3.5.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

05/08 2016

3.5.0.1

3.5.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

05/08 2016

3.5.0.0

3.5.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

orm lightweight

28/07 2016

3.4.2.0

3.4.2.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

28/07 2016

3.4.1.0

3.4.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

18/07 2016

3.4.0.0

3.4.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

06/07 2016

3.3.1.0

3.3.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

06/07 2016

3.3.0.1

3.3.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

06/07 2016

3.3.0.0

3.3.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

06/07 2016

3.2.0.1

3.2.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

29/06 2016

3.2.0.0

3.2.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

27/06 2016

3.1.2.0

3.1.2.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

27/06 2016

3.1.1.1

3.1.1.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

27/06 2016

3.1.1.0

3.1.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

27/06 2016

3.1.0.3

3.1.0.3

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

27/06 2016

3.1.0.2

3.1.0.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

27/06 2016

3.1.0.1

3.1.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

01/06 2016

3.1.0.0

3.1.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

01/06 2016

3.0.2.0

3.0.2.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

31/05 2016

3.0.1.1

3.0.1.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

30/05 2016

3.0.1.0

3.0.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

25/05 2016

3.0.0.6

3.0.0.6

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

25/05 2016

3.0.0.5

3.0.0.5

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

25/05 2016

3.0.0.4

3.0.0.4

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

24/05 2016

3.0.0.3

3.0.0.3

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

24/05 2016

3.0.0.2

3.0.0.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

24/05 2016

3.0.0.1

3.0.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

24/05 2016

3.0.0.0

3.0.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

orm lightweight

30/03 2016

2.0.0.0

2.0.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

29/03 2016

1.1.1.0

1.1.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

28/01 2016

1.1.0.3

1.1.0.3

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

04/01 2016

1.1.0.2

1.1.0.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

30/11 2015

1.1.0.1

1.1.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

17/11 2015

1.1.0.0

1.1.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

30/09 2015

1.0.1.0

1.0.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

30/09 2015

1.0.0.4

1.0.0.4

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

30/09 2015

1.0.0.3

1.0.0.3

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

30/09 2015

1.0.0.2

1.0.0.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

30/09 2015

1.0.0.1

1.0.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

16/09 2015

1.0.0.0

1.0.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

09/09 2015

0.12.1.0

0.12.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

28/08 2015

0.12.0.0

0.12.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

27/08 2015

0.11.0.0

0.11.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

16/06 2015

0.10.0.3

0.10.0.3

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

27/05 2015

0.10.0.2

0.10.0.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

15/05 2015

0.10.0.1

0.10.0.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

03/03 2015

0.10

0.10.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

12/02 2015

0.9.4

0.9.4.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

09/10 2014

0.9.3.2

0.9.3.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

29/09 2014

0.9.3.1

0.9.3.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

29/09 2014

0.9.3

0.9.3.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

17/09 2014

0.9.2.2

0.9.2.2

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

17/09 2014

0.9.2.3

0.9.2.3

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

10/09 2014

0.9.2.1

0.9.2.1

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

03/09 2014

0.9.2

0.9.2.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

03/09 2014

0.9.1

0.9.1.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight

03/09 2014

0.9

0.9.0.0

Simple schema-led ORM, with no code generation required

  Sources   Download

MIT

The Requires

 

orm lightweight