Skip to content
No description or website provided.
Branch: master
Clone or download
Latest commit 93bd46a Apr 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add issue and PR templates Jun 18, 2018
app Allow WordPress controllers to have middleware Mar 31, 2019
assets Add better default 404 & 500 templates Feb 27, 2019
bootstrap Revert v4 changes Sep 25, 2018
config Fix defaults for Session config Dec 18, 2018
views
.editorconfig
.gitignore Ignore vendor dir Apr 1, 2019
404.php Allow WordPress controllers to have middleware Mar 31, 2019
LICENSE.txt
README.md Update README Apr 1, 2019
archive.php Allow WordPress controllers to have middleware Mar 31, 2019
author.php Allow WordPress controllers to have middleware Mar 31, 2019
composer.json Added composer.json Dec 10, 2015
functions.php Started migration to v2 Dec 9, 2017
index.php
page.php Allow WordPress controllers to have middleware Mar 31, 2019
routes.php Started migration to v2 Dec 9, 2017
screenshot.png Add improved theme screenshot Feb 28, 2019
search.php Allow WordPress controllers to have middleware Mar 31, 2019
single.php Allow WordPress controllers to have middleware Mar 31, 2019
style.css Update version number Dec 16, 2017

README.md

framework GitHub license Downloads

Lumberjack Logo

Supercharge your WordPress Development

Lumberjack is a powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code.

Who is Lumberjack for?

Coming from another PHP framework such as Laravel, have experience using Timber with WordPress but want more, or are just getting started with modern WordPress? Then Lumberjack is for you.

Use as little or as much as you need, it's beginner friendly!

Documentation

The Lumberjack documentation can be found here:

https://docs.lumberjack.rareloop.com

For more information, check out the website:

https://lumberjack.rareloop.com

Getting Started

See the documentation for details on how to get started: https://docs.lumberjack.rareloop.com/getting-started/installation

Built on strong foundations

Standing on the shoulders of giants, Lumberjack proudly builds on the great work of other open source WordPress projects.

Beautiful code. Easy to maintain

Object orientated and MVC patterns help keep your code structured and DRY.

index.php

class IndexController
{
    public function handle()
    {
        $context = Timber::get_context();
        $context['posts'] = Post::whereStatus('publish')
            ->limit(5)
            ->get();

        return new TimberResponse('index.twig', $context);
    }
}

index.twig

{% if posts is not empty %}
    <h4>Recent Articles</h4>
    <ul>
        {% for post in posts %}
            <li class="article">
                <h3>{{ $post->title }}</h3>
                {{ $post->preview }}
                <a href="{{ $post->link }}">Read the full story</a>
            </li>
        {% endfor %}
    </ul>
{% endif %}

You're in good company

Lumberjack is the deluxe version of what Modern WordPress should look like today. The team has done a great job of making it easy to build complicated custom applications while taking advantage of the best parts of WordPress.

- Jared Novack - Timber creator

Made by Rareloop

We're a Digital Product Studio based in Southampton (UK) with many years experience working on modern WordPress websites. We design and build digital products for a range of clients, take a look at what else we can do.

Find out more

You can’t perform that action at this time.