SenEF – The zero config ORM PHP Entity Framework

SenEF – The zero config ORM PHP Entity Framework

Quick and easy to install. "Zero Config" PHP Entity Framework system that independently creates the classes for each table in your Database.

Why Choose SenEF

Fast and Easy

After installation, SenEF automatically generates a class for each table in your database. You can quickly and easily enter, edit, and extract data from the DB.

Yes/No Encapsulation?

With a simple option, you can decide to use getter/setter or directly access the properties.

Guaranteed Extendability

Thanks to the extension of the classes, you will be able to customize the functionality without losing the ability to update them. SenEF adapts to every development need.

Less Errors... More Productivity

Work with databases the same way you develop classes and objects in PHP. No more SQL errors that interrupt processes. And with data validity control, you get more stability for your software.

Automatic Documentation

For each feature created, SenEF generates a comment so that you can quickly and easily obtain complete documentation of the developed application.

Online Support and Upgrade

Free online support for 24 months, including Framework Update and Upgrade

How Does SenEF Work? Here Are Some More Details...

SenEF is a framework, more precisely a PHP Entity Framework with MySql interface that allows access to the database
through classes. After being copied to the apache server and providing the login credentials to the DB,
SENEF automatically generates the mirrored classes to the database tables and creates a set of features to
retrieve, edit, insert, and search for data.


The classes generated by SenEF have an attribute for each field that will be accessed through getter/setter or public access, depending on your choice. As a function, these classes allow to check equalityallow through the “isEqual” method and for making a copy using the “Clone” method.
Functions for manipulating data in the database are included in a “Services” file. For each Entity a “Services” file containing the main functions will be created:

  • Create: a method that will allow you to create a new record in the DB.
  • Update: the modification of a record within the database.
  • Delete: the cancellation of a record.
  • GetAll: returns a list with all the table records in the DB.
  • – GetListBy: a series of pre-created search functions in which it will be possible to pass a value or a
    range depending on the type of data declared in the database.
  • Search: a search function that allows you to specify a where condition.


With SenEF you can safely and simply create custom functionality
If present in the output folder, the child classes of entities and services will not be overwritten. This avoids loosing the features created but at the same time gives the possibility to regenerate them.


SenEF integrates a series of accuracy checks on the requests, such as data formatting, input value in the case of a string, or the validity of an integer/double. In case of non-compliant use, the system will generate an “Exception”, which in fact simplifies the search for possible programming errors, making your software more stable.


Each service will contain a search defined as free. It will, therefore, be possible to use the function parameter to insert the where condition, resulting in an entity list of the table involved.


During the start of the creation process, it will be possible to define if the class attributes should be public or private but accessible through getter/setter functionalities, thus respecting the encapsulation principle.


For each functionality created, SenEF generates a comment according to the standards, so as to generate complete documentation of the entire application. It is also possible to define an author who will be reported in these comments.