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

  • Cache

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

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

    An useful and descriptive extension system which gives you more control over your site.
  • Language

    For managing multiple languages easily and quickly.
  • Route

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

    Have cleaner code using the session class instead of managing the php session variables directly.
  • Template

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

Requirements

  • PHP 7 or higher
  • Composer

Contact

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