Skip to content
Willow Framework for quickly creating ORM/RESTful APIs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

🌳 Willow Framework 🌳

Willow is a type a girl who is beautiful and amazing and is kinda a special person and loved by everyone around her most willows can be your best of friends she's up for anything and she's loves anything fun you throw at her...

~ Urban Dictionary

For developers, Willow is an opinionated PHP framework used to quickly create CRUD based RESTful APIs.

Willow is a marriage between Slim 4 and Eloquent ORM. With Dependency Injection as your best man, Respect\Validation as your bridesmaid, and Robo as your wedding planner.

Willow is opinionated meaning that Willow stresses convention over configuration.

Willow works best as a framework in this situation:

  • You need to quickly spin up a RESTful datacentric API
  • You have defined your database with entities (tables/views) already in place
  • You are just starting your project (for the backend API handler) and need to hit the ground running

📃 Requirements

  • PHP 7.1+
  • MySQL 5.6+ (support is planned for Postgres, SQLite, and MSSQL)
  • Composer (For Willow to work best this must be installed globally)

💾 Installation

From a terminal / command window run:

composer create-project ryannerd/willow [your-project-name]
cd [your-project-name]
php -S localhost:8088 -t public

Then in your favorite web browser go to: localhost:8088/v1/sample/hello-world

The result should look something like this:

  "authenticated": true,
  "success": true,
  "status": 200,
  "data": {
    "id": "hello-world"
  "missing": [ ],
  "message": "Sample test",
  "timestamp": 1556903905

For more instructions see the Willow Framework User Guide

You can’t perform that action at this time.