{"id":15832334,"url":"https://github.com/splincode/selfycms","last_synced_at":"2025-04-01T12:11:04.451Z","repository":{"id":36666950,"uuid":"40973316","full_name":"splincode/selfycms","owner":"splincode","description":"CMS project","archived":false,"fork":false,"pushed_at":"2016-03-28T13:24:50.000Z","size":690,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-06T12:42:01.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splincode.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-18T13:24:12.000Z","updated_at":"2016-05-07T12:28:06.000Z","dependencies_parsed_at":"2022-09-06T13:20:17.738Z","dependency_job_id":null,"html_url":"https://github.com/splincode/selfycms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fselfycms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fselfycms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fselfycms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fselfycms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splincode","download_url":"https://codeload.github.com/splincode/selfycms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635983,"owners_count":20809333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-05T12:41:45.081Z","updated_at":"2025-04-01T12:11:04.428Z","avatar_url":"https://github.com/splincode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"SelfyCMS\u003csup\u003ebeta\u003c/sup\u003e 0.45\n=======\n\n\u003c!--SlimMVC is the easiest and flexible way to create your PHP application using a MVC pattern.\nSlimMVC use the PHP microframework [Slim Framework](http://www.slimframework.com/) and use the best practices collected in the slim community.\n--\u003e\n\nБыстрый старт\n---------------\n1. Загружаем проект к себе в директорию\n2. Запускаем установку [http://domain.com/install](#)\n\u003cimg src=\"https://habrastorage.org/files/681/09f/af3/68109faf322643f4b93a015bd17879cc.png\"/\u003e\n3. Переходим на страницу входа в систему [http://domain.com/login](#)\n\u003cimg src=\"https://habrastorage.org/files/9b4/cb6/f58/9b4cb6f582d3465f84655856aa74ed79.png\"/\u003e\n\nСодержимое CMS\n---------------\n* core/ (slim framework)\n* routers/ (настройка url-переходов)\n* view/ (фронтенд)\n\t* composer.json (зависимости в проекте)\n\t* index.php (ядро системы)\n\n### core/\n\n..\n\n### routers/\n\n..\n\n### view/\n\n..\n\n### index.php\n\n\n```php\n\u003c?php\n\t\n\trequire 'core/autoload.php'; // подгрузка библиотек\n\trequire 'routers/status/bad.php'; // обработка ошибок запросов\n\n\t$page = new \\Slim\\App($c); // инициализация страницы\n\t\n\trequire 'routers/twig/path.php'; // инициализация пути twig шаблон\n\ttwig_init($page, 'view/public/'); // путь до шаблона публичной части\n\n\trequire 'view/replace.backend.php'; // шаблоны меток панели управления\n\trequire 'view/replace.public.php'; // шаблоны меток\n\n\t// обработка административной части\n\trequire 'routers/backend/admin.router.php'; // панель управления\t\n\n\t// обработка публичной части\n\trequire 'routers/public/redirect.router.php'; // редиректы\t\n\trequire 'routers/public/index.router.php'; // обработка главной страницы\n\trequire 'routers/public/page.router.php'; // обработка остальных страниц\t\n\t\n\t$page-\u003erun(); // отрисовка\n```\n\n### Дополнительно\n\n..","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplincode%2Fselfycms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplincode%2Fselfycms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplincode%2Fselfycms/lists"}