Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

stephenjude/UserAPI

Repository files navigation

UserAPI

This is a sample project I used to demostrate how to mock and test PHP Traits. The blog post can be found here

Usage

Clone the repostory.

Run composer install

composer install

Create a .env file from .env.example

Generate your app key

php artisan key:generate

Create a database and update your .env database credentials.

Run the test

vendor/bin/phpunit --filter=CustomResponseTest

About

A sample project on how to test PHP Traits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •