Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alrik11es/sphpf

A really simple PHP framework like a template just to start whatever project you like simple and fast.
https://github.com/alrik11es/sphpf

Last synced: about 1 month ago
JSON representation

A really simple PHP framework like a template just to start whatever project you like simple and fast.

Awesome Lists containing this project

README

        

sPHPf (Simple PHP Framework)
============================

### NOTE: This framework is Outdated please refer to Laravel to find a framework with all this features and much more.
--

### Making your life simple and better.

sPHPf is a PHP 5.3 based framework that allows you to initiate a fast developement
to whatever application you're interested using my personal view of MVC implementation.

The point features of this framework is the use of the Twig template manager and RedBean database
management. A good feature is also that due to it's simplicity you can always
switch between other template engines or database engines in an easy way.

You can obviously see more information of this framework in the webpage.
http://sphpf.coldstarstudios.com

How to start building your own app?
-----------------------------------
To start an app simply copy "my_app" folder wherever you want to starting to build your
brand new application. Then point the require to Loader in index.php

```php
data['example_var'] = \ExampleVendor\ExampleVendor::EXAMPLE_CONST;
return new \coldstarstudios\framework\Response('web/index.twig', $this->data);
}
}
```

### Example view

```twig
{% extends 'templates/base.twig' %}

{% block body %}
This is a Simple PHP Framework Application

{{example_var}}



Mini-menu:



Main page

PHP View page

Page from widget with TWIG

Page from widget with PHP

Other page
{% endblock %}
```

Developement
------------
###TODO

Please refer to https://github.com/alrik11es/sPHPf/issues

###Changelog

Please refer to changelog.md

###License

Please refer to license.md

Twig, RedBean and Spyc are used by sPHPf but it's not maintained or builded by us. Please
refer to the LICENSE file inside each source code folders or in the code itself.