freshp/example-contact-form-application
Composer 安装命令:
composer create-project freshp/example-contact-form-application
包简介
package to provide an example contact form
README 文档
README
example contact form application
example implementation for a talk: https://speakerdeck.com/moveelevator/architektur-in-php-applikationen
Execute manual test of the formhandling
- start built in php server
php -S localhost:8000 -t example/
- with the browser you can test the form
build js and css files with gulp
- install npm
npm install - install gulp for cli
npm install -g gulp-cli - run gulp
gulp- if gulp is installed from another user, please use npx and run:
npx gulp
- if gulp is installed from another user, please use npx and run:
Checks
Run each command in the project root directory.
Execute PHPUnit tests
./vendor/bin/phpunit.phar -c ./phpunit.xml --debug --verbose
Execute PHPSTAN checks
./vendor/bin/phpstan.phar analyse -l max -c ./phpstan.neon src/
Execute PHPCS-fixer
./vendor/bin/phpcs-fixer.phar fix ./src
Execute PHPCS checks
./vendor/bin/phpcs.phar ./src --standard=./ruleset.xml --extensions=php
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-01-24