Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koselig/koselig

:love_letter: Seamlessly integrate Wordpress with Laravel.
https://github.com/koselig/koselig

laravel laravel-framework wordpress wordpress-development wordpress-laravel wordpress-library

Last synced: 27 days ago
JSON representation

:love_letter: Seamlessly integrate Wordpress with Laravel.

Awesome Lists containing this project

README

        


Build Status
Total Downloads
Latest Stable Version


Documentation

## What is this?

This is your standard [Laravel](https://laravel.com/) 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](https://laravel.com/docs/5.6/authentication) 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](https://laravel.com/docs/master), it'll make your life as a PHP developer so much better. While we're on the topic of docs, [here's ours](https://koselig.github.io/documentation/) (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](https://getcomposer.org/) 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 [[email protected]](mailto:[email protected]).

If you discover a security vulnerability within Koselig, please send an e-mail to Jordan Doyle via [[email protected]](mailto:[email protected]).

If you discover a security vulnerability within Wordpress, please report it on [Hackerone](https://hackerone.com/wordpress).

All security vulnerabilities will be promptly addressed.

## License

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

Koselig is licensed under the [WTFPL](http://www.wtfpl.net/).