bedrockstreaming / daemonbundle Goto Github PK
View Code? Open in Web Editor NEWAllows you to create daemonized commands. ๐
License: MIT License
Allows you to create daemonized commands. ๐
License: MIT License
The DaemonCommand should check if event_dispatcher
service is available before get it.
Then, code which use this event dispatcher should check if it's not null before call methods on it.
Also, EventDispacther should be set in the Daemon method.
Installation instructions needs an update to work with my app using Symfony 2.8.8.
The file M6WebDaemonBundle.php required by my AppKernel is appears only since V 1.2.0.
Via composer :
"require": {
"m6web/daemon-bundle":"1.4.*"
}
then enable the bundle in your kernel:
<?php
$bundles = [
new M6Web\Bundle\DaemonBundle\M6WebDaemonBundle()
];
Hi guys, do you plan to support this library for Symfony5?
Are there any changes except composer.json needed?
through an optionnel configuration, allow the user to send an event each x iteration
test if the exception output is really written
The command try to read the m6web_daemon.iterations_events
. But, if the bundle is not enabled in the Kernel, this parameter won't be available.
You can use DaemonCommand without enabling the bundle in the Kernel. It is only required if you want the command to trigger events each X iterations (should also be documented if it's not).
So, the command should check if m6web_daemon.iterations_events
parameter is available before read it.
Hello,
I was trying to update my app to Symfony 7.x.
After a "composer update -W" with all Symfony dependencies targeted to ^7.0, I had some composer conflicts :
Problem 1
- m6web/daemon-bundle v7.0.0 requires symfony/console ~6.1 -> found symfony/console[v6.1.0, ..., v6.4.4] but it conflicts with your root composer.json require (^7.0).
- mfy/daemon-command[4.0.0, ..., 4.0.2] require m6web/daemon-bundle ^7.0 -> satisfiable by m6web/daemon-bundle[v7.0.0].
- Root composer.json requires mfy/daemon-command ^4.0 -> satisfiable by mfy/daemon-command[4.0.0, 4.0.1, 4.0.2].
Is it planned to update DaemonBundle for Symfony 7.x ?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.