rainner/biscuit-php

Biscuit PHP is a small stand-alone collection of classes that work together as a framework to help build small server-side applications with PHP.

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Type:framework

2.1.4 2017-01-31 10:14 UTC

This package is not auto-updated.

Last update: 2024-04-10 21:17:51 UTC


README

Build Status License: MIT

Biscuit PHP is a small stand-alone collection of classes that work together as a framework to help build small server-side applications with PHP. It's intended to be minimal with no need for dependencies and comes with the basic tools needed for building a small RESTful api, or web application backend. See the table below for what is included.

Demo Application

For a demo application that uses this framework, refer to another repo that serves as a boilerplate to get started using this framework: Biscuit-APP

Current Namespaces

This is a table that lists the current Biscuit PHP framework namespaces and what each is responsible for.

Namespace Description
Biscuit\Boot\* Classes for managing error handling and runtime environment options.
Biscuit\Crypt\* Classes for hashing, encrypting and decrypting strings.
Biscuit\Data\* Classes for handling, parsing, serializing, storing and rendering data.
Biscuit\Db\* Classes for handling database connection using a common interface.
Biscuit\Http\* Classes for handling routing, request data, responses and server info.
Biscuit\Session\* Classes for managing session storage and user authentication.
Biscuit\Storage\* Classes for dealing with folders/files on the system and images.
Biscuit\Utils\* Common utility classes for various other purposes.

Installation & Setup

Composer: Run the following composer commands to include this package and install the dependency for your project:

$ composer require rainner/biscuit-php 2.*

Manual: Clone this repo somewhere in your project and use the included autoloader to load the included classes:

$ cd /path/to/project/libs
$ git clone https://github.com/rainner/biscuit-php.git
<?php
require( './libs/biscuit-php/autoloader.php' )

Author

Rainner Lins: @raintek_

License

Licensed under MIT.