Home

Awesome

WordPress Laravel Bootstrap

A WordPress plugin helps you use functions, methods, libraries of Laravel in any WordPress projects

Requiments

Installation

define('LARAVEL_PATH', '/srv/www/laravel-example-project'); // Make sure this is pointed to same server

Usage

You can use all codes in your Laravel project, build Single Sign On with less effort on same/subdomain and so on...

<?php

// Helper
$array = array_add(['name' => 'Desk'], 'price', 100);

// Session
session(['chairs' => 7, 'instruments' => 3]);

// Authentication
Auth::check();

// Query Builder
$users = DB::table('users')->get();

// Eloquent
$flights = App\Flight::where('active', 1)
               ->orderBy('name', 'desc')
               ->take(10)
               ->get();

Contributing

All contributions are welcome to help improve WL-Bootstrap.

License

MIT

Copyright (c) 2017-present, Golr