PHP code example of ks561 / calculator
1. Go to this page and download the library: Download ks561/calculator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ks561 / calculator example snippets
Task03/
├── db/
│ └── database.sqlite # Файл базы данных SQLite
├── public/
│ └── index.php # Главная страница веб-приложения (маршрутизация Slim)
│ └── index.html # Фронтенд (HTML, JavaScript)
│ └── styles.css # Стили
├── src/
│ ├── GameController.php # Обработчики REST API (логика работы с запросами)
│ ├── Database.php # Работа с базой данных SQLite
│ ├── Game.php # Логика игры
├── vendor/
├── composer.json # Файл конфигурации Composer
└── README.md # Описание проекта