Comments (5)
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 phpseclib/phpseclib
though.
from optimus.
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?
from optimus.
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 :)
from optimus.
@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 ... 😉
from optimus.
@cviebrock Yes, take a look here:
https://github.com/Propaganistas/Laravel-FakeId
from optimus.
Related Issues (20)
- Please add SSL certificate to repository
- 64 bit system HOT 3
- What's wrong? HOT 17
- I'm getting this BindingResolutionException in Laravel HOT 1
- Silex integration documentation HOT 2
- I cannot use the built-in command HOT 1
- Laravel integration HOT 1
- How unique is unique HOT 4
- Foreign key ($value) NULL
- segmentation fault error
- Minimum or fixed integer length HOT 1
- Why limit integer support to 2147483647? HOT 10
- delete / forceDelete bug
- Symfony-Flex recipe HOT 3
- GMP is slower than Native HOT 3
- facade HOT 1
- Laravel 7.0 incompatibilities HOT 2
- Possible for attacker to determine prime, inverse, and random number? HOT 3
- support for phpseclib v3? HOT 1
- Implicit conversion from float ... to int loses precision (PHP 8.1) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optimus.