/laravel-wpuser

A sample laravel application to pass it's data to WordPress

Primary LanguagePHP

Laravel to WP user

Scrutinizer Code Quality Build Status License: MIT

Demo: Visit

Email: admin@mail.com
Password: password

Installation

  1. Clone this repo
git clone https://github.com/emtiazzahid/laravel-wpuser.git
  1. Install composer packages
cd laravel-wpuser
composer install
  1. Create and setup .env file
cp .env.example .env
php artisan key:generate
php artisan jwt:secret
  1. put database credentials in .env file

    for testing add database name on DB_TEST_DATABASE

  2. Migrate and insert records

php artisan migrate --seed
  1. To run test
.\vendor\bin\phpunit

For WP Plugin for this visit: wp-laravel-user

License

The MIT License (MIT)