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.
To get started with Oceanbed.php, you can choose one of the following options to load the framework:
- Using the Composer's Autoloader:
require_once 'path/to/vendor/autoload.php';
- 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.
To run unit tests and demos, you will need to install Stonetable. For more details, please refer to the Stonetable README.md.
- Unit tests are located in the
./test/units/static
directory. - Demo files can be found in the
./test/demo/static
directory.
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.