Simple bundle to visualise primes and their multiplication table

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0


dev-master 2017-09-02 13:08 UTC

This package is not auto-updated.

Last update: 2022-01-16 18:51:51 UTC


Install as usually install Symfony bundles. Run: composer require todstoychev/primes. It may be necessary to change your symfony installation minimum-stability directive to dev. This can be done by adding:

    "minimum-stability": "dev"

to your composer.json file.

Then add to app/AppKernel.php in the bundles array:

$bundles = [
            // Other bundles here
            new Todstoychev\PrimesBundle\TodstoychevPrimesBundle(),


The bundle provides 2 commands.

  • primes:show [--count] - this one provides a list of primes. If --count option used you must provide how many primes do you want to generate.
  • primes:table [--count] - has the same way of usage as the previous command, but displays multiplication table of primes generated.