Skip to content

Example repo with WordPress and Spatie Ray™ debugging.

Notifications You must be signed in to change notification settings

aubreypwd-old/example-wp-spatie-ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is an example for Tom Mcfarlin's Tweet and blog post for setting up a WordPress Project that includes Spatie Ray for debugging!

It also includes WordPress using composer as outlined in this article by Sal Ferrarello.

TLDR: Everything you want to see is in composer.json and wp-config.php!


What did I do?

composer init # Duh
composer require johnpbloch/wordpress # Require WordPress, see https://salferrarello.com/install-wordpress-with-composer/
composer require --dev spatie/ray # Require Spatie Ray so I can ray() things...

Then...

  • Modified index.php like it says to here
  • Created wp-config.php using wp config create --dbname=localhost --dbuser=root
  • Modified wp-config.php (go see my notes there)

If you clone this repo

First run:

composer install

Then move wp-config.php to wp-config.php (or symlink it).

About

Example repo with WordPress and Spatie Ray™ debugging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages