cleverage / process-ui-bundle
UI for cleverage/process-bundle
Installs: 758
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=8.0
- ext-ctype: *
- ext-iconv: *
- cleverage/process-bundle: ^3.2
- composer/package-versions-deprecated: ^1.11
- ddtraceweb/monolog-parser: ^1.3
- doctrine/doctrine-bundle: ^2.4
- doctrine/doctrine-migrations-bundle: ^3.1
- doctrine/orm: ^2.9
- easycorp/easyadmin-bundle: ^4.0
- league/flysystem: ^2.2
- sensio/framework-extra-bundle: ^6.1
- symfony/console: ^5.4
- symfony/doctrine-messenger: ^5.4
- symfony/filesystem: ^5.4
- symfony/flex: ^1.3.1
- symfony/form: ^5.4
- symfony/framework-bundle: ^5.4
- symfony/messenger: ^5.4
- symfony/mime: ^5.4
- symfony/proxy-manager-bridge: ^5.4
- symfony/runtime: ^5.4
- symfony/security-bundle: ^5.4
- symfony/stopwatch: ^5.4
- symfony/twig-bundle: ^5.4
- symfony/validator: ^5.4
- symfony/webpack-encore-bundle: ^1.11
- symfony/yaml: ^5.4
- twig/extra-bundle: ^2.12|^3.0
- twig/intl-extra: ^3.3
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^3.4
- friendsofphp/php-cs-fixer: ^3.6
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1
- phpstan/phpstan-doctrine: ^1.2
- phpstan/phpstan-symfony: ^1.1
- rector/rector: ^0.12.13
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.6
- symfony/dotenv: ^5.4
- symfony/maker-bundle: ^1.31
- symfony/web-profiler-bundle: ^5.4
Conflicts
This package is auto-updated.
Last update: 2024-11-24 14:14:37 UTC
README
CleverAge/ProcessUIBundle
This bundle is deprecated, use CleverAge/UiProcessBundle instead
A simple UX for cleverage/processbundle using EasyAdmin
Installation
- Import routes
#config/routes.yaml process-ui: resource: '@CleverAgeProcessUiBundle/Resources/config/routes.yaml'
- Run doctrine migration
- Create an user using cleverage:process-ui:user-create console.
Now you can access Process UI via http://your-domain.com/process
Indexing logs
You can index logs line into database to perform search on Process > History page. See configuration section.
When indexation is enabled you can perform it async.
#config/messenger.yaml framework: messenger: transports: log_index: 'doctrine://default' routing: CleverAge\ProcessUiBundle\Message\LogIndexerMessage: log_index
Then you have to consume messages by running (use a supervisor to keep consumer alive)
bin/console messenger:consume log_index --memory-limit=64M
See official symfony/messenger component documentations for more informations https://symfony.com/doc/current/messenger.html
Integrate CrudController
Of course you can integrate ProcessUI CRUD into your own easy admin Dashboard
public function configureMenuItems(): iterable { /* ... your configuration */ yield MenuItem::linkToCrud('History', null, ProcessExecution::class); }
Configuration
clever_age_process_ui: index_logs: enabled: false level: ERROR #Minimum log level to index. Allowed values are DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY