sipsystemgm / sip-symfony-framework
Simple parser command
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.2.5
- ext-ctype: *
- ext-iconv: *
- composer/package-versions-deprecated: 1.11.99.4
- doctrine/annotations: ^1.0
- doctrine/doctrine-bundle: ^2.4
- doctrine/doctrine-migrations-bundle: ^3.2
- doctrine/orm: ^2.10
- knplabs/knp-paginator-bundle: ^5.7
- phpdocumentor/reflection-docblock: ^5.3
- sensio/framework-extra-bundle: ^6.1
- sipsystemgm/parser-command-bundle: ^1.1
- symfony/asset: 5.3.*
- symfony/console: 5.3.*
- symfony/dotenv: 5.3.*
- symfony/expression-language: 5.3.*
- symfony/flex: ^1.3.1
- symfony/form: 5.3.*
- symfony/framework-bundle: 5.3.*
- symfony/http-client: 5.3.*
- symfony/intl: 5.3.*
- symfony/mailer: 5.3.*
- symfony/mime: 5.3.*
- symfony/monolog-bundle: ^3.1
- symfony/notifier: 5.3.*
- symfony/process: 5.3.*
- symfony/property-access: 5.3.*
- symfony/property-info: 5.3.*
- symfony/proxy-manager-bridge: 5.3.*
- symfony/runtime: 5.3.*
- symfony/security-bundle: 5.3.*
- symfony/serializer: 5.3.*
- symfony/string: 5.3.*
- symfony/translation: 5.3.*
- symfony/twig-bundle: 5.3.*
- symfony/validator: 5.3.*
- symfony/web-link: 5.3.*
- symfony/webpack-encore-bundle: ^1.12
- symfony/yaml: 5.3.*
- twig/extra-bundle: ^2.12|^3.0
- twig/twig: ^2.12|^3.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- symfony/browser-kit: 5.3.*
- symfony/css-selector: 5.3.*
- symfony/debug-bundle: 5.3.*
- symfony/maker-bundle: ^1.0
- symfony/phpunit-bridge: ^5.3
- symfony/stopwatch: 5.3.*
- symfony/web-profiler-bundle: 5.3.*
Conflicts
Replaces
This package is auto-updated.
Last update: 2024-04-26 16:42:38 UTC
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