Giter Site home page Giter Site logo

Comments (5)

jenssegers avatar jenssegers commented on August 25, 2024

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.

Propaganistas avatar Propaganistas commented on August 25, 2024

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.

jenssegers avatar jenssegers commented on August 25, 2024

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.

cviebrock avatar cviebrock commented on August 25, 2024

@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.

Propaganistas avatar Propaganistas commented on August 25, 2024

@cviebrock Yes, take a look here:

https://github.com/Propaganistas/Laravel-FakeId

from optimus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.