Description
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 frameworks and libraries.
Wolff alternatives and similar libraries
Based on the "Micro Frameworks" category.
Alternatively, view Wolff alternatives based on common mentions on social networks and blogs.
-
Siler
DISCONTINUED. โก Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions. -
Liten
Liten is a small and simple micro framework which can be used to build restful services and apps.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Wolff or a related project?
Popular Comparisons
README
Wolff
Web development made just right.
Wolff is a ridiculously small and lightweight PHP framework, intended for those who want to build web applications without starting from scratch or dealing with complexity.
Wolff is the perfect solution for building small and medium-sized web applications.
Note: The core code of the framework is available at Wolff-framework.
Features
๐ Extremely easy: It's simple to use and no initial setup is required, it comes ready to be deployed, giving you the opportunity to learn it in just a single night (sleep included).
๐ Ridiculously fast: Only the resources you need are loaded, the framework is able to handle hundreds of requests per second. It's very friendly with potato servers and works seamlessly.
๐ ๏ธ Comprenhensive: Wolff has features that cover everything you may ever need for building a web app, from a handy database abstraction to a powerful template engine.
What's included
And much more...
Requirements
PHP version 7.0 or higher
Composer
Install
Composer is required for installing Wolff, once you got it...
Run the following command in the folder where you want Wolff to be installed:
composer create-project usbac/wolff
This will download the whole project with everything ready to run.
More info about the installation process in the Docs - install page.
You can also download the last bundle here.
Example
app/controllers/home.php:
โน?php
namespace Controller;
use Wolff\Core\{Language, View};
class Home
{
public function index($req, $res)
{
$data = Language::get('home');
View::render('home', $data);
}
}
Testing
PHPUnit is required for the tests, once you got it.
Run the following command with high privileges (sudo) in your wolff project folder:
vendor/bin/phpunit
Running the command with high privileges is required since some files will be created during the testing process.
Documentation
First time using it? Read the Documentation.
Contributing
Any contribution or support to this project in the form of a pull request or message will be highly appreciated. โค๏ธ
You can read more about the contribution process [right here](CONTRIBUTING.md). Don't be shy. :)
License
Wolff is open-source software licensed under the MIT license.
*Note that all licence references and agreements mentioned in the Wolff README section above
are relevant to that project's source code only.