Skip to content
💌 Seamlessly integrate Wordpress with Laravel.
PHP HTML JavaScript Other
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.
laradock @ 0c41fce
.env.example Update to Laravel 5.7 Nov 19, 2018
.eslintrc Javascript refactoring, add search field to index Oct 25, 2016
phpunit.xml Set bcrypt rounds using the hashing config Apr 18, 2018

Build Status Total Downloads Latest Stable Version


What is this?

This is your standard Laravel install but with a few little extras 😉. Koselig is your gateway to Wordpress from Laravel. When a user makes a request, Koselig will boot Wordpress and attempt to match the page Wordpress thinks its on with a Laravel route you define (Koselig provides route methods such as Template, Page Type, Post ID, etc). From that point on, you're in Laravel world but with full access to Wordpress and all the functions that Wordpress exposes.

But we know that's not good enough; Wordpress' API is straight up ugly and doesn't know which paradigm it's following. Koselig attempts to abstract Wordpress away from you, the developer, by providing a beautiful interface to call into Wordpress code. An auth guard has been defined for Wordpress, Eloquent models for Wordpress have been setup and we have proxies for everything that doesn't make sense to rewrite to make them PSR2 compliant.

If you've never used Laravel before you should definitely read over their docs, it'll make your life as a PHP developer so much better. While we're on the topic of docs, here's ours (they're not as good as Laravel's though sorry ☹️)

The Wordpress dashboard is available at /cms. There will be a full Wordpress install in your environment but it's managed via composer along with all your Wordpress plugins.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via

If you discover a security vulnerability within Koselig, please send an e-mail to Jordan Doyle via

If you discover a security vulnerability within Wordpress, please report it on Hackerone.

All security vulnerabilities will be promptly addressed.


The Laravel framework is open-sourced software licensed under the MIT license.

Koselig is licensed under the WTFPL.

You can’t perform that action at this time.