Ridiculously small PHP framework.
Wolff is a ridiculously small and lightweight PHP framework with useful functions and utilities like a route, template, extensions and language system.
It is intended for those who want to build light websites without having to do everything from scratch or using too large/complicated frameworks.
Wolff is small, fast, scalable and easy. The perfect solution for building small and medium-sized web applications.
Fast: Due to its small size and simplicity, you don’t have to worry about loading times or resource usage.
Simple: It’s not only small, but simple as well; with a clean documentation and easy way to use.
Extensible: Take advantage of the custom extensions and templates you can make in Wolff to expand your page.
Clean: The routes system allows you to have clean and friendly URLs, and the template system makes the php code cleaner while separating the logic from the view.
Dynamic: You can work however you want without strictly following the Wolff design or patterns like the MVC.
Route: A route system that allows you to have clean URLs, make redirections and block certain pages recursively.
Database: Wolff has a Database abstraction layer which simplifies the process of running queries and includes some useful functions.
Template: With the optional template system you can write cleaner code in your views and avoid things like the php tags.
Cache: An optional cache system which can increase the overall loading speed of your pages.
Uploader: Simplify and optimize the process of uploading files with the uploader system of Wolff.
Session: Have cleaner code using the session class instead of managing the php session variables directly.
Extension: An useful and descriptive extension system which gives you more control over your site.
Language: For managing multiple languages easily and quickly.
Take advantage of the CLI application of Wolff named Wolffie to do a lot of tasks in a fast and easy way using short commands.
With it you can create extensions, routes, export queries to csv files, look at the available pages, change the project configuration, delete elements like controllers, languages and much more.
PHP version 7.0 or higher
You must have composer in your system for installing Wolff, once you have it.
Open your favorite terminal, move to the folder where you want Wolff to be installed and run the following command:
composer create-project usbac/wolff
This will download the whole project with everything ready to run!
You can see more information about the installation process in the Wiki - install page.
First time using it? Read the Wiki.
Any contribution or support to this project in the form of a pull request or message will be highly appreciated.
Don't be shy :)
Wolff is open-source software licensed under the MIT license.