Skip to content
Ridiculously small PHP framework for building web apps
Branch: master
Clone or download
Usbac Ability to add custom utilities, bugs fixed and minor changes
Changelog:

* Added the option to append custom utilities to the controllers.
* Fixed bug when accesing a blocked route throught a redirection.
* Fixed bug in the uploader class related to the max file size.
* Functions of the standard library were put in a check to avoid function definition collisions.
* Added getRedirection function to the Route class.
* Refactored code.
Latest commit 6200f52 May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
public Ability to add custom utilities, bugs fixed and minor changes May 23, 2019
system Ability to add custom utilities, bugs fixed and minor changes May 23, 2019
.editorconfig Add french translation and other minor changes May 15, 2019
.gitignore Added a Logger class and minor changes May 22, 2019
.htaccess Moved index.php to public folder and minor changes May 16, 2019
LICENSE Add french translation and other minor changes May 15, 2019
README.md Ability to add custom utilities, bugs fixed and minor changes May 23, 2019
Wolffie Add french translation and other minor changes May 15, 2019
composer.json Ability to add custom utilities, bugs fixed and minor changes May 23, 2019

README.md


Wolff logo
Wolff

Ridiculously small PHP framework.

Wolff is a ridiculously small and lightweight PHP framework with useful functions and utilities like a template, route, 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 and libraries.

Features

  • 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.

Utilities

  • Cache: An optional cache system which can increase the overall loading speed of your pages.

  • Route: A route system that allows you to have clean URLs, make redirections and block certain pages recursively.

  • Template: With the optional template system you can write cleaner code in your views and avoid things like the php tags.

  • Database: Wolff has a Database abstraction layer which simplifies the process of running queries and includes some useful functions.

  • 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.

And more...

CLI

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, controllers, routes, export queries to csv files, look at the available extensions, change the project configuration, delete elements like controllers, languages and much more.

Wolff cli

Requirements

  • PHP version 7.0 or higher.

  • Composer

Install

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.

Documentation

First time using it? Read the Wiki.

Contributing

Currently Wolff is quite stable but it's still a work in progress.

Any contribution or support to this project in the form of a pull request or message will be highly appreciated.

Don't be shy :)

License

Wolff is open-source software licensed under the MIT license.

You can’t perform that action at this time.