-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate logic of spark command #9
Comments
You should be able to call the Symfony console command from Laravel since Laravel command are Symfony commands as well. You will need to require |
Yes, but the generated numbers aren't available directly as they are immediately being consumed and then echo'ed. It would be practical to get access the generated numbers directly? |
True, but the spark is just a small helper to get started using the library quicker. I will take a look if I can find a decent structure to extract that logic. You could copy the logic of the command as well, there's no super magic stuff happening there :) |
@Propaganistas did you ever publish your Laravel wrapper for this? I was looking to do the same, but if you've already done my job for me ... 😉 |
@cviebrock Yes, take a look here: |
Hi
Could you please split out the generation logic of the spark command into a separate class so that it can be called from elsewhere more easily?
I'm building a Laravel wrapper for Optimus.
Thanks.
The text was updated successfully, but these errors were encountered: