Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmathai/epiphany
A micro PHP framework that's fast, easy, clean and RESTful. The framework does not do a lot of magic under the hood. It is, by design, very simple and very powerful.
https://github.com/jmathai/epiphany
Last synced: 7 days ago
JSON representation
A micro PHP framework that's fast, easy, clean and RESTful. The framework does not do a lot of magic under the hood. It is, by design, very simple and very powerful.
- Host: GitHub
- URL: https://github.com/jmathai/epiphany
- Owner: jmathai
- License: other
- Created: 2008-05-30T06:22:51.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T07:34:55.000Z (about 4 years ago)
- Last Synced: 2024-12-07T17:06:29.529Z (14 days ago)
- Language: PHP
- Homepage: https://github.com/jmathai/epiphany
- Size: 243 KB
- Stars: 686
- Watchers: 52
- Forks: 139
- Open Issues: 30
-
Metadata Files:
- Readme: README.markdown
- Changelog: Changelog
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome - jmathai/epiphany - A micro PHP framework that's fast, easy, clean and RESTful. The framework does not do a lot of magic under the hood. It is, by design, very simple and very powerful. (PHP)
README
The Epiphany PHP Framework
=======================
#### Fast. Easy. Clean. RESTful----------------------------------------
### How it looks
The most basic example is including the routing module and defining a few endpoints and providing a callback function that executes when someone requests that page.
Epi::init('route');
getRoute()->get('/', 'home');
getRoute()->get('/contact', 'contactUs');
getRoute()->run();
function home() {
echo 'You are at the home page';
}function contactUs() {
echo 'Send us an email at [email protected]';
}----------------------------------------
### Learn more about the modules
Read documentation on the individual modules available in Epiphany.
1. [Route][route] - A RESTful routing library to map paths to functions.
2. [Api][api] - An API helper module to create private and public APIs. This is both new and awesome.
3. [Session][session] - A multi-engine session library which supports native PHP sessions, APC and Memcached.
4. [Database][database] - A simple interface to PDO's MySql driver.
5. [Cache][cache] - A easy caching library which supports APC and Memcached.
6. [Config][config] - An ini based configuration library that supports overloading.----------------------------------------
### The Manifesto
The Epiphany framework is fast, easy, clean and RESTful. The framework does not do a lot of magic under the hood. It is, by design, very simple and very powerful.
The documentation provides a few conventions that we believe lead to well written code but you're free to use any style you'd like. The framework never dictates how you should write or structure your application.
----------------------------------------
### What you need
The Epiphany framework only requires PHP 5+, Apache and mod_rewrite. That's all!
----------------------------------------
### Getting started
The following links to documentation and articles will help you get up and running in no time. Included in the repository is an example directory with sub applications highlighting the different features of the Epiphany framework.
1.
### The authors
Get in touch with the authors if you have suggestions or questions.
Jaisen Mathai
jaisen-at-jmathai.com
http://www.jaisenmathai.com
Kevin Hornschemeier
khornschemeier-at-gmail.com
http://www.khornschemeier.com
[route]: https://github.com/jmathai/epiphany/blob/master/docs/Route.markdown
[api]: https://github.com/jmathai/epiphany/blob/master/docs/Api.markdown
[session]: https://github.com/jmathai/epiphany/blob/master/docs/Session.markdown
[database]: https://github.com/jmathai/epiphany/blob/master/docs/Database.markdown
[cache]: https://github.com/jmathai/epiphany/blob/master/docs/Cache.markdown
[config]: https://github.com/jmathai/epiphany/blob/master/docs/Config.markdown