2017 © Pedro Peláez
 

library pesedget

php database entity manager

image

gossamer/pesedget

php database entity manager

  • Sunday, March 19, 2017
  • by dmeikle
  • Repository
  • 1 Watchers
  • 0 Stars
  • 458 Installations
  • PHP
  • 7 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

pesedget

php database entity manager, (*1)

Initially intended as an Entity Manager to work within the GossamerCMS framework. This allows multiple datasources to be configured from a single configuration file and requested by their Key from the Entity Manager. It abstracts the loading of the configuration with its own bootstrap so a method can call a connection from the Entity Manager at any place in the software without worrying about whether it has been instantiated yet nor what the required credentials are for it., (*2)

The Entity Manager is a Singleton. to call it:, (*3)

$manager = EntityManager::getInstance(); $connection = $manager->getConnection(); //default connection, (*4)

you can specify individual connections by name:, (*5)

$mysqlConnection = $manager->getConnection('mysql'); $mssqlConnection = $manager->getConnection('mssql');, (*6)

the yml credentials looks like this:

database:
----mysql:
--------class: 'Gossamer\Pesedget\Database\DBConnection'
--------credentials:
-----------host: localhost
-----------username: user_id
-----------password: isnothere
-----------dbName: db_name_here, (*7)

#tell the EM which connection to use if no key specified          

----default: mysql, (*8)

Why call it Pesedget?

The Pesedget is a group of entities in the Egyptian Pantheon. .... Group of Entities... thank you ... try the ribs..., (*9)

The Versions

19/03 2017

dev-master

9999999-dev https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

19/03 2017

1.1.8

1.1.8.0 https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

18/03 2017

1.1.7

1.1.7.0 https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

18/03 2017

1.1.6

1.1.6.0 https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

18/03 2017

1.1.5

1.1.5.0 https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

18/03 2017

1.1.4

1.1.4.0 https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

18/03 2017

2.0.0

2.0.0.0 https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager

12/10 2015

dev-cachefields

dev-cachefields https://github.com/dmeikle/pesedget

php database entity manager

  Sources   Download

MIT

The Requires

 

The Development Requires

database php entity manager