Skip to content

dazmiller/red4

Repository files navigation

SlimRedTwig

Unit Test Status

This is no longer maintained. If anyone wants to take over, please let me know.

A skeleton application bringing together Slim Framework, RedbeanPHP, and Twig templates into the MVC pattern. It also has jQuery and Bootstrap baked in for an easier start with responsive design.

User Login/Register System

SlimRedTwig also has a simple user system that you can use as-is, update it as a base for your own system, or remove it completely. This also provides examples for the MVC setup used, as well as testing with PHPUnit. Which reminds me...

Tests

Unit tests are run with PHPUnit. The Tests directory contains them all, and there is a shell script to run them in the app directory. It's as easy as ./TestRunner!

Getting Started

You will need to make sure your server is serving the public directory, and that cache is writable by the server. An example for Apache would be:

Alias /srt "path/to/SlimRedTwig/public"
<Directory "path/to/SlimRedTwig/public">
    AllowOverride All
    Options All
    Require all granted
</Directory>

You would then be able to access the app at http://yourhost/srt. Don't forget to update the .htaccess file in the public directory to match the base url to the alias you setup for your app.

Questions, Ideas, or Problems?

Let everyone know on the GitHub Issues for SlimRedTwig.

I welcome contributions as well; just submit your pull request for review!

License

SlimRedTwig is released under the MIT License, see LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published