sipsystemgm/sip-symfony-framework
Composer 安装命令:
composer create-project sipsystemgm/sip-symfony-framework
包简介
Simple parser command
README 文档
README
This is a simple component to parse images from html page.
This component was developed to demonstrate developing approaches only!!!
Installation
% composer create-project sipsystemgm/sip-symfony-framework
Configuration
% cp .env .env.local
# uncomment MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages, #MEMCACHED_HOST, #MEMCACHED_PORT=11211
# set your parameters if need it
Migrations
% php bin/console doctrine:migrations:migrate
Frontend install
% yarn install
or
% npm install
Frontend build
% yarn run build
or
% npm run install
Run
# run php bin/console sip:parser --help for more details
% php bin/console sip:parser https://some-host 4 20
% php bin/console messenger:consume parser
Run web reports
- run symfony webserver (install https://symfony.com/download)
% symfony serve -d
- go to the url printed bellow after run server
[OK] Web server listening
The Web server is using PHP FPM 8.0.11
http://127.0.0.1:8000
Testing
Configurations
% cp .env.test .env.test.local
% cp phpunit.xml.dist phpunit.xml
insert memcached block in file .env.test.local and set your parameters if they are different
#.env.test.local ##> memcached ### MEMCACHED_HOST=localhost MEMCACHED_PORT=11211 ##> memcached ##
Testing
Configuration
insert test path directory in file phpunit.xml
<testsuite name="Project Test Suite"> <directory>tests</directory> ... <directory>vendor/sipsystemgm/parser-command-bundle/tests</directory> </testsuite>
Run test
% composer exec phpunit
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-10-26