Download the PHP package arojunior/php-orm-pdo without Composer
On this page you can find all versions of the php package arojunior/php-orm-pdo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-orm-pdo
Installing via composer and using as a lib
create a file to overwrite the database config
And then you can extend this class in your classes
CRUD
Creating a new user (without check)
Let the ORM choose if it will be created or updated. The ORM will execute the find method before to decide if will create or update data
Saving data
Retrieving the id
Updating a user with id = 1
Delete
Read
Checking
in case of true, you cat get the data with:
Functionalities if used as Framework
- CRUD functions
- Auto load Model classes in Controllers
- To use the automatic functions you should use the filename and structure conventions
- Just follow the example on /controller/UsersController.php
- All controllers in /app/controllers folder
- All models in /app/models folder
Convetions
- All controllers in /app/controller path
- All models in /app/model path
- All views in /app/view path
- Filenames and classes must has the same name
All versions of php-orm-pdo with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
The package arojunior/php-orm-pdo contains the following files
Loading the files please wait ....