Skip to content

rkstar/ed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[ed] Easy Development PHP Library

A lightweight modular PHP library for creating REST APIs and easing your data management woes.

About ed

ed is a lightweight PHP library that eases application development by taking care of all of the low-level data management (database integration, common validation routines, XML and JSON responses) for you. Concentrate on the data-flow of your specific applications and leave the heavy lifting (and boring stuff) to ed.

Modular On-Demand Architecture

ed is built as an on-demand library. There is very little necessary configuration and only one file to include in your application code. The config files are loaded along with a tiny static ed class which allows you to load modules as needed in your application. Modules are loaded on each page or function of your application and you only load the modules that you need at any given time.

Key Benefits

  • Create REST APIs quickly without dealing with database access hassles
  • Database interaction is done entirely through PHP DataObjects (PDO)
  • Built-in module dependency management ensures you will never get ed library errors
  • Useful classes like Object and XML extend PHP's default functionality
  • Utilities class that includes common use cases and validation for large-scale applications
  • Flexibility to use with any MVC-type application architecture or custom REST API
  • And much, much more...

Compatibility and Requirements

ed works and has been tested on the following software:

ed relies on PHP DataObjects for database access, so this extension must be enabled in your PHP build.

This library is completely open source and available for use for personal and commercial projects free-of-charge.

Documentation

The primary documentation is split up in to multiple files, due to the size of the overall documentation. You can find these files in the /docs folder, or use the links below to get straight to the documentation for each module in ed.

Core Modules

  • ed: Core Library Class
  • Core.Form: Form data handlers and helpers
  • Core.Object: An extension of PHP's stdClass
  • Core.Utils: A static class with lots of validation functions as well as commonly used processes for web development

Data Modules

  • Data.Data: NOTE This class has been replaced with Data.SQLQuery
  • Data.Database: A low-level class that handles database connections and interactivity. This class is not accessed directly, but rather via an SQLQuery instance
  • Data.SQLQuery: The core class you will interact with when using the ed database functionality. You will define your query parameters here and execute functions to return an SQLResult object.
  • Data.SQLResult: The result object that is returned after a database call using SQLQuery
  • Data.XML: An extension of PHP's SimpleXMLElement class

Ecommerce Modules

  • Ecommerce.PSIGate: PSIGate payment module that provides a succinct interface to PSIGate's payment API

External Modules

Third Party Modules

Utility Modules

About

ED PHP Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages