symfony-bundle primes
Simple bundle to visualise primes and their multiplication table
todstoychev/primes
Simple bundle to visualise primes and their multiplication table
- Saturday, September 2, 2017
- by todstoychev
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Installation
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:, (*1)
{
"minimum-stability": "dev"
}
to your composer.json file., (*2)
Then add to app/AppKernel.php
in the bundles array:, (*3)
$bundles = [
// Other bundles here
new Todstoychev\PrimesBundle\TodstoychevPrimesBundle(),
];
Commands
The bundle provides 2 commands., (*4)
- 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.
dev-master
9999999-dev
Simple bundle to visualise primes and their multiplication table
Sources
Download
MIT
The Requires
The Development Requires
by
todstoychev