Join the team

Lastest contributors on Github

Let's build something together

                    
app > languages > en > home.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14
‹?php return [ 'title' => 'Wolff', 'meta' => 'Wolff - Framework', 'description' => 'Small PHP framework' ];

Create a language file (Optional)

                    
app > controllers > home.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14
‹?php namespace Controller; use Core\{Controller, Language, View}; class Home extends Controller { public function index() { $data['text'] = Language::get('home'); View::render('home', $data); } }

Create a controller

                    
app > views > home.wlf
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!DOCTYPE html> <head> <title>{{ $text['meta'] }}</title> </head> <body> <h2>{{ $text['title'] }}</h2> <p>{{ $text['description'] }}</p> </body> </html>

Design the view

Features

  • Database abstraction layer

    Which simplifies the process of running queries and includes useful functions.
  • DI Container

    For managing class dependencies and performing DI.
  • Language system

    For managing multiple languages easily and quickly.
  • Middleware system

    Which gives you more control over your requests/responses.
  • Routing system

    Have clean URLs, make redirections and block certain pages recursively.
  • Standard library

    With numerous incredible functions related to strings, numbers, debugging and arrays.
  • Template engine

    Which you can use to write cleaner and safer code in your views while avoiding things like the php tags.
  • Multiple utilities

    Including a authentication, pagination, uploader and validation utility.
And more...

Requirements

  • PHP 7 or higher
  • Composer

Contact

Requests and questions can be send to the email [email protected], you will be contacted shortly.