Skip to content

TomasBagdanavicius/oceanbed.php

Repository files navigation

Oceanbed.php

Oceanbed.php is a lightweight PHP framework designed primarily for CRUD (Create, Read, Update, Delete) applications. Its main strength lies in its ability to abstract CRUD operations across various data types, such as databases, filesystems, and arrays.

Quick Start

To get started with Oceanbed.php, you can choose one of the following options to load the framework:

  1. Using the Composer's Autoloader:
require_once 'path/to/vendor/autoload.php';
  1. Using the Built-in Legacy Loader:
require_once 'path/to/src/Autoload.php';

After loading Oceanbed.php, you can start using the desired classes. For example:

use LWP\Common\Conditions\Condition

When using various Oceanbed.php features, you will likely need to configure settings properly. To do this, create your own config.php file in the ./var/ directory. Use the provided ./var/config.sample.php as a template for setting up your config.php file.

Running Unit Tests and Demos

To run unit tests and demos, you will need to install Stonetable. For more details, please refer to the Stonetable README.md.

Licensing

Oceanbed.php is released under the MIT License. The source code has no dependencies whatsoever and thus is not dependent upon any 3rd party licensing conditions.