cravelight/email-authentication-service
Composer 安装命令:
composer require cravelight/email-authentication-service
包简介
Email address authentication service
关键字:
README 文档
README
Helper service to support the ability to:
- 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
To make changes, after cloning:
- run
composer install - copy
.env.exampleto.envand configure your db credentials - run
php vendor/bin/phinx migrate - run tests
Automated Tests
To run automated test we are using the following frameworks:
- PHPUnit (testing framework)
- PHP dotenv (setting environment variables)
PHPStorm Configuration
To configure PHPStorm:
- Open Preferences and navigate to Languages and Frameworks → PHP → PHPUnit
- 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:
php [path/to/phpunit] --bootstrap [path/to/tests/bootstrap.php] --no-configuration [path/to/tests]
For additional information see: PHPUnit command line options
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-24