Public | Automated Build

Last pushed: 10 days ago
Short Description
Project Euler in PHP
Full Description

Project Euler in PHP

Solutions for Project Euler problems

Installation with Docker :

  • Prerequisite : Docker must be installed
    sudo docker run -a stdin -a stdout -it jfxs/project-euler /bin/bash
    

Installation from source :

  • Prerequisite : PHP >= 7.0 and git must be installed
    # Clone repository
    git clone https://github.com/jfx/project-euler.git
    cd project-euler
    # Install composer
    php -r "readfile('https://getcomposer.org/installer');" | php
    # Install libraries
    php composer.phar install --prefer-dist
    

Usage:

./bin/pe resolve <num problem>

To run unit tests :

./vendor/bin/phpunit -c phpunit.xml

Docker Pull Command
Owner
jfxs
Source Repository

Comments (0)