enpii/enpii-base

The base plugin to have powerful Laravel development on WordPress


README

We understand the pains it brings to WordPress developers so we create this plugin to allow to use Laravel framework.

This plugin would bring all the features of Laravel framework to WordPress development: Container concepts, Service Providers, ORMs, Queue system, Routing system ... (everything that works with Laravel will work with WordPress with Enpii Base plugin).

So from now on, you can use Laravel concepts to work with WordPress developments consistently. This Enpii Base plugin would help WordPress developers to create easy-maintainable code exactly the same way Laravel does.

Imagine, you can do this for the iconic template file index.php (using Blade template syntax)

@extends('layouts/main')

@section('content')
	<h1><?php echo 'WP App'; ?></h1>
	<p>{{ 'Welcome to WP App from Enpii Base' }}</p>
@endsection

and on layouts/main.blade.php

<html>
<body>
	<main class="site-body">
		@yield('content')
	</main>
</body>
</html>

Interesting!? Let's get started

Installation

composer require enpii/enpii-base

or you can find it on WordPress plugin hub

Docs are here:

  1. Basic Concepts
  2. We log our blockers, solutions and crazy things in Development Logs
  3. Development Guides

License

The Enpii Base plugin is open-sourced software licensed under the MIT license.

Credits