Code Monkey home page Code Monkey logo

wolff's Introduction


Wolff logo
Wolff

Ridiculously small PHP framework.

Wolff is a ridiculously small and lightweight PHP framework.

It is intended for those who want to build lightweight websites without starting from scratch or dealing with large frameworks.

Wolff is small, fast, scalable and easy. The perfect solution for building small and medium-sized web applications.

Note: The core code of the framework is available at Wolff-framework.

Features

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

  • Extensible: Take advantage of the custom middlewares, functions and templates you can make in Wolff to expand your page.

  • 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 an easy way to use.

What's included

Element Description
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 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 (including an example page)!

You can see more information about the installation process in the Wiki - install page.

Testing

First you must have PHPUnit installed, once you have it.

Open your favorite terminal, move to your wolff project location and run the following command with high privileges (sudo):

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

Want to...

Create a route/page? Read the Route page.

Use the database or run queries? Read the DB Page.

Use the container? Read the Container Page.

Contributing

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.

wolff's People

Contributors

nicolascarpi avatar usbac avatar

Watchers

 avatar  avatar

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.