Zebra_Database it is an advanced, compact (one-file only), lightweight, MySQL database wrapper built upon PHP's MySQL extension. It provides methods for interacting with MySQL databases that are more powerful and intuitive to use than PHP's default ones.

It supports transactions and provides ways for caching query results either by saving cached data on the disk, or by using memcache.

The class provides a comprehensive debugging interface with detailed information about the executed queries: execution time, returned/affected rows, excerpts of the found rows, error messages, etc. It also automatically EXPLAIN's each SELECT query (so you don't miss those keys again!).

It encourages developers to write maintainable code and provides a better default security layer by encouraging the use of prepared statements, where parameters are automatically escaped.

Code is heavily commented and generates no warnings/errors/notices when PHP's error reporting level is set to E_ALL

Features

  • supports caching of query results to disk or to a memcache server
  • provides a better security layer by encouraging the use of prepared statements, where parameters are automatically escaped
  • provides a very detailed debugging interface with lots of useful information about executed queries; it also automatically EXAPLAIN's each SELECT query
  • offers lots of powerful methods for easier interaction with MySQL
  • generates no warnings/errors/notices when PHP’s error reporting level is set to E_ALL
  • almost every line is commented
  • it's one file only

Project Activity

See All Activity >

Categories

Database, Libraries

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow Zebra_Database

Zebra_Database Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Zebra_Database!

Additional Project Details

Intended Audience

Developers

Programming Language

PHP

Database Environment

Project is a database abstraction layer (API), MySQL

Related Categories

PHP Database Software, PHP Libraries

Registered

2011-01-24