https://github.com/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. 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.
https://github.com/rainner/biscuit-php
Last synced: 5 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/rainner/biscuit-php
- Owner: rainner
- License: other
- Created: 2016-01-10T04:14:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-31T10:18:48.000Z (over 9 years ago)
- Last Synced: 2025-07-23T14:12:10.419Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 233 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[demo]: https://github.com/rainner/biscuit-app
[twitter]: http://twitter.com/raintek_
[mit]: http://www.opensource.org/licenses/mit-license.php
# Biscuit PHP
[](https://travis-ci.org/rainner/biscuit-php)
[](https://opensource.org/licenses/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][demo]
### 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:
````php
$ composer require rainner/biscuit-php 2.*
````
**Manual:** Clone this repo somewhere in your project and use the included autoloader to load the included classes:
````php
$ cd /path/to/project/libs
$ git clone https://github.com/rainner/biscuit-php.git
````
````php