2017 © Pedro Peláez
 

laravel-package wordpress-helpers

Helper classes for laravel-admin/wordpress

image

laravel-admin/wordpress-helpers

Helper classes for laravel-admin/wordpress

  • Saturday, February 4, 2017
  • by marcoboom
  • Repository
  • 2 Watchers
  • 1 Stars
  • 115 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 6 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

Headless Wordpress with Laravel front

This package is experimental, don't use it for production., (*1)

Installation

This package is not yet available with packagist, so you have to create a repositories section in you composer.json file., (*2)

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-admin/headless-wordpress"
        }
]

Composer.json changes

Add a repositories section to you composer.json to fetch the Wordpress packagist., (*3)

"repositories": [
   {
       "type": "composer",
       "url": "https://wpackagist.org"
   }
],

Add some installer paths, (*4)

"extra": {
   "installer-paths": {
       "public/mu-plugins/{$name}": ["type:wordpress-muplugin"],
       "public/plugins/{$name}": ["type:wordpress-plugin"],
       "public/themes/{$name}": ["type:wordpress-theme"]
   },
   "wordpress-install-dir": "public/wordpress"
}

Run composer, (*5)

composer require laravel-admin/headless-wordpress

Add the service provider to your config/app.php, (*6)

LaravelAdmin\HeadlessWordpress\HeadlessWordpressServiceProvider::class,

Add some folders to your gitignore:, (*7)

public/languages
public/plugins
public/upgrade
public/uploads
public/wordpress

Publish the public files, (*8)

artisan vendor:publish --tag="public"

Usage

  • Make sure your Laravel .env is configured correctly.
  • Go to /wordpress/wp-admin to start with setup your Wordpress site.
  • Configure your custom post types and taxonomies within public/themes/wordplate/library/posttypes

The Versions

04/02 2017

dev-master

9999999-dev

Helper classes for laravel-admin/wordpress

  Sources   Download

MIT

04/02 2017

0.1.1

0.1.1.0

Helper classes for laravel-admin/wordpress

  Sources   Download

MIT

04/02 2017

0.1.0

0.1.0.0

Helper classes for laravel-admin/wordpress

  Sources   Download

MIT