2017 © Pedro Peláez
 

library email-authentication-service

Email address authentication service

image

cravelight/email-authentication-service

Email address authentication service

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Email Authentication Service

Helper service to support the ability to:, (*1)

  • verify a user has access to an email address
  • store and validate a user provided email/password combination

To use, simply install with Composer: composer require cravelight/phpunit-helpers, (*2)

To make changes, after cloning:, (*3)

  • run composer install
  • copy .env.example to .env and configure your db credentials
  • run php vendor/bin/phinx migrate
  • run tests

Automated Tests

To run automated test we are using the following frameworks:, (*4)

PHPStorm Configuration

To configure PHPStorm:, (*5)

  • Open Preferences and navigate to Languages and FrameworksPHPPHPUnit
  • Under PHPUnit library, select Use custom autoloader
  • Enter Path to script as [path/to/project/vendor/autoload.php]
  • In the Test Runner section, select Default bootstrap file and enter the [path/to/project/tests/bootstrap.php]
  • Apply your changes and exit Preferences

Command Line

When running from the command line use the following:, (*6)

php [path/to/phpunit] --bootstrap [path/to/tests/bootstrap.php] --no-configuration [path/to/tests], (*7)

For additional information see: PHPUnit command line options, (*8)

The Versions