1. Go to this page and download the library: Download plusest/site 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/ */
plusest / site example snippets
'debug' => [
'summary' => true,
],
bash
composer in/plusestSite install
plusestSite/
├── config.php єдиний файл, який треба заповнити
├── install/schema.sql схема бази даних
├── templates/ шаблони сторінок — правте під свій дизайн
├── data/ моделі, лог, lock-файл — НЕ віддавати з вебу
└── public/ те, що віддає вебсервер
├── index.php front controller: усі сторінки розділу
├── cron.php запуск синхронізації за URL (за потреби)
├── install/ веб-установник
├── assets/ site.css і site.js
└── photos/ завантажені фотографії
bash
# 1. Заповніть у config.php секцію db та feed.url
# 2. Створіть таблиці
php vendor/bin/plusestSite migrate --config=plusestSite/config.php
# 3. Завантажте моделі даних (підписи до полів обʼєкта)
php vendor/bin/plusestSite models --config=plusestSite/config.php
# 4. Перевірте, що все на місці
php vendor/bin/plusestSite check --config=plusestSite/config.php