Skip to content

tobono/acorn-wpdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acorn WPDB

Acorn WPDB is a laravel eloquent driver for Acorn or Sage 10 based projects.

Installation

Install via composer:

composer require tobono/acorn-wpdb

Usage

You should configure your database connection to use the wpdb driver.

Example

//...
  'connections' => [
        'wpdb' => [
            'driver' => 'wpdb',
            'host' => DB_HOST,
            'database' => DB_NAME,
            'username' => DB_USER,
            'password' => DB_PASSWORD,
            'prefix' => $GLOBALS['wpdb']->prefix,
        ],
    ]
//...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages