rgzone/bignum-demo

Symfony demo application showcasing the capabilities of the rgzone/bignum arbitrary-precision integer extension.

Maintainers

Package info

bitbucket.org/stelzek/ext-bignum-example/

Homepage

Type:project

pkg:composer/rgzone/bignum-demo

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

dev-master 2026-06-02 17:11 UTC

This package is auto-updated.

Last update: 2026-06-02 17:11:18 UTC


README

Symfony demo application showcasing the capabilities of the rgzone/bignum arbitrary-precision integer extension.

Requirements

  • Docker
  • Optional: task from Taskfile

Build

Build the image manually:

docker build -t bignum-example .

Or via Taskfile:

task cli

Run

Start an interactive shell in the container:

docker run --rm -it bignum-example bash

Inside the container, run the Symfony console:

php bin/console

Example Command

The demo command is app:example.

It runs an interactive big integer calculation flow:

  • asks for the first integer
  • asks you to choose an operation
  • asks for the second integer
  • prints the result

Run it inside the container:

php bin/console app:example

Supported operations:

  • add
  • subtract
  • multiply
  • divide
  • modulo