Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alrik11es/sphpf
- Owner: alrik11es
- License: other
- Created: 2011-11-09T12:54:57.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-03-24T17:05:37.000Z (over 10 years ago)
- Last Synced: 2024-05-21T05:14:55.871Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 1.72 MB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.md
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.comHow 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
------------
###TODOPlease 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.