├── .gitignore ├── LICENSE.txt ├── README.md ├── app ├── Controller │ ├── BaseController.php │ ├── IndexController.php │ └── ViewController.php ├── Model │ ├── Api.php │ ├── Calculator.php │ ├── Constants │ │ ├── DefaultInput.php │ │ └── Frequency.php │ └── Form │ │ └── Calculator.php ├── Util │ ├── Autoloader.php │ ├── Config.php │ ├── Date.php │ ├── Di.php │ ├── Email.php │ ├── HeaderParams.php │ ├── HttpParams.php │ ├── Mysql.php │ ├── Route.php │ ├── Session.php │ ├── Std.php │ ├── Validator.php │ └── View.php └── View │ ├── error.phtml │ ├── footer.phtml │ ├── header.phtml │ └── index.phtml ├── composer.json ├── config.php-example ├── data └── prices.json ├── phpunit.xml ├── public ├── .htaccess-example ├── bootstrap ├── bootstrap-3.3.7-dist │ ├── css │ │ ├── bootstrap-theme.css │ │ ├── bootstrap-theme.css.map │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap-theme.min.css.map │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ ├── bootstrap.min.css │ │ └── bootstrap.min.css.map │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ └── npm.js ├── favicon.ico ├── images │ └── bitcoin.png └── index.php └── tests ├── WithMockHelper.php ├── app ├── Controller │ └── IndexControllerTest.php └── Util │ ├── AutoloaderTest.php │ ├── ConfigTest.php │ ├── DiTest.php │ ├── EmailTest.php │ ├── MysqlTest.php │ ├── RouteTest.php │ └── ValidatorTest.php ├── bootstrap.php └── integration.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/README.md -------------------------------------------------------------------------------- /app/Controller/BaseController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Controller/BaseController.php -------------------------------------------------------------------------------- /app/Controller/IndexController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Controller/IndexController.php -------------------------------------------------------------------------------- /app/Controller/ViewController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Controller/ViewController.php -------------------------------------------------------------------------------- /app/Model/Api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Model/Api.php -------------------------------------------------------------------------------- /app/Model/Calculator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Model/Calculator.php -------------------------------------------------------------------------------- /app/Model/Constants/DefaultInput.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Model/Constants/DefaultInput.php -------------------------------------------------------------------------------- /app/Model/Constants/Frequency.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Model/Constants/Frequency.php -------------------------------------------------------------------------------- /app/Model/Form/Calculator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Model/Form/Calculator.php -------------------------------------------------------------------------------- /app/Util/Autoloader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Autoloader.php -------------------------------------------------------------------------------- /app/Util/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Config.php -------------------------------------------------------------------------------- /app/Util/Date.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Date.php -------------------------------------------------------------------------------- /app/Util/Di.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Di.php -------------------------------------------------------------------------------- /app/Util/Email.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Email.php -------------------------------------------------------------------------------- /app/Util/HeaderParams.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/HeaderParams.php -------------------------------------------------------------------------------- /app/Util/HttpParams.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/HttpParams.php -------------------------------------------------------------------------------- /app/Util/Mysql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Mysql.php -------------------------------------------------------------------------------- /app/Util/Route.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Route.php -------------------------------------------------------------------------------- /app/Util/Session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Session.php -------------------------------------------------------------------------------- /app/Util/Std.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Std.php -------------------------------------------------------------------------------- /app/Util/Validator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/Validator.php -------------------------------------------------------------------------------- /app/Util/View.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/Util/View.php -------------------------------------------------------------------------------- /app/View/error.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/View/error.phtml -------------------------------------------------------------------------------- /app/View/footer.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/View/footer.phtml -------------------------------------------------------------------------------- /app/View/header.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/View/header.phtml -------------------------------------------------------------------------------- /app/View/index.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/app/View/index.phtml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/composer.json -------------------------------------------------------------------------------- /config.php-example: -------------------------------------------------------------------------------- 1 | 'http://localhost/bitcoin-calculator', 5 | ]; 6 | -------------------------------------------------------------------------------- /data/prices.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/data/prices.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/.htaccess-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/.htaccess-example -------------------------------------------------------------------------------- /public/bootstrap: -------------------------------------------------------------------------------- 1 | bootstrap-3.3.7-dist -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap-theme.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap-theme.css -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap-theme.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap-theme.css.map -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css.map -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap.css -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap.css.map -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap.min.css -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/css/bootstrap.min.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/css/bootstrap.min.css.map -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/js/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/js/bootstrap.js -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/js/bootstrap.min.js -------------------------------------------------------------------------------- /public/bootstrap-3.3.7-dist/js/npm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/bootstrap-3.3.7-dist/js/npm.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/images/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/images/bitcoin.png -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/public/index.php -------------------------------------------------------------------------------- /tests/WithMockHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/WithMockHelper.php -------------------------------------------------------------------------------- /tests/app/Controller/IndexControllerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Controller/IndexControllerTest.php -------------------------------------------------------------------------------- /tests/app/Util/AutoloaderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/AutoloaderTest.php -------------------------------------------------------------------------------- /tests/app/Util/ConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/ConfigTest.php -------------------------------------------------------------------------------- /tests/app/Util/DiTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/DiTest.php -------------------------------------------------------------------------------- /tests/app/Util/EmailTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/EmailTest.php -------------------------------------------------------------------------------- /tests/app/Util/MysqlTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/MysqlTest.php -------------------------------------------------------------------------------- /tests/app/Util/RouteTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/RouteTest.php -------------------------------------------------------------------------------- /tests/app/Util/ValidatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/app/Util/ValidatorTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/integration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microlancer/bitcoin-calculator/HEAD/tests/integration.sh --------------------------------------------------------------------------------