Download the PHP package lastguest/aleph without Composer
On this page you can find all versions of the php package lastguest/aleph. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lastguest/aleph
More information about lastguest/aleph
Files in lastguest/aleph
Package aleph
Short Description A simple PHP framework for very small sites
License MIT
Homepage https://github.com/lastguest/aleph
Informations about the package aleph
Aleph

Aleph is a very simple PHP framework for very small sites.
Installation
Install via composer:
Or download only the framework file
Or remote include the framework file: (needs allow_url_include = true
in php.ini)
Documentation
Boostrap
Include composer vendor/autoload.php
or directly the aleph.php
file in your front controller:
URL Routing
If you return an array or an object it will served as JSON
The response will be :
Database
Init database DSN
Run query and get single column
Run query and get single row
Run query and iterate all returned rows
Passing parameters:
Exec sql command
Service
The Service function is a small DI container.
Register a factory method
Make service instances
Register a singleton service
Now if we call multiple times the service('test')
function we got the singleton instance every time :
======================
Contributing
How to get involved:
- Star the project!
- Answer questions that come through GitHub issues
- Report a bug that you find
Core follows the GitFlow branching model. The branch always reflects a production-ready state while the latest development is taking place in the branch.
Each time you want to work on a fix or a new feature, create a new branch based on the branch: . Only pull requests to the branch will be merged.
Pull requests are highly appreciated.
Solve a problem. Features are great, but even better is cleaning-up and fixing issues in the code that you discover.
Versioning
Core is maintained by using the Semantic Versioning Specification (SemVer).
Copyright and license
Copyright 2014 Stefano Azzolini under the MIT license.