Giter Club home page Giter Club logo

wolff's Introduction

Wolff logo
Wolff

Web development made just right.

Wolff is a ridiculously small and lightweight PHP framework, intended for those who want to build web apps without 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 comes ready to be deployed, giving you the opportunity to learn it in just a single night (sleep included).

๐Ÿš€ Ridiculously fast: Due to its simplicity, the framework is able to handle hundreds of requests per second. It's very friendly with potato servers.

๐Ÿ› ๏ธ Comprenhensive: It has everything you may need for building a web app, from a handy database abstraction layer to a dynamic template engine.

๐Ÿฆ„ Elegant: Its source code and interface has been meticulously written, it's expressive and elegant, without depending on a single external dependency.

What's included

And much more...

Requirements

  • PHP version 7.1 or higher

  • Composer (Only for installation)

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.

Bundle

You can also download here the last bundle ready to be used.

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);
    }
}

More examples available here.

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. Don't be shy. :)

License

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.