{"id":17959626,"url":"https://github.com/imjoehaines/sihae","last_synced_at":"2025-11-11T19:32:24.074Z","repository":{"id":54992794,"uuid":"42362618","full_name":"imjoehaines/sihae","owner":"imjoehaines","description":"A PHP 7.4+ blog engine built with Slim Framework and Doctrine ORM","archived":false,"fork":false,"pushed_at":"2021-01-17T07:56:10.000Z","size":14326,"stargazers_count":20,"open_issues_count":14,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-11T09:30:42.199Z","etag":null,"topics":["blog","blog-engine","doctrine-orm","php","slim-framework"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imjoehaines.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-12T15:45:17.000Z","updated_at":"2023-11-29T16:43:47.000Z","dependencies_parsed_at":"2022-08-14T08:30:45.335Z","dependency_job_id":null,"html_url":"https://github.com/imjoehaines/sihae","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imjoehaines/sihae","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fsihae","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fsihae/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fsihae/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fsihae/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imjoehaines","download_url":"https://codeload.github.com/imjoehaines/sihae/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjoehaines%2Fsihae/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283921000,"owners_count":26916742,"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","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["blog","blog-engine","doctrine-orm","php","slim-framework"],"created_at":"2024-10-29T11:03:56.103Z","updated_at":"2025-11-11T19:32:24.052Z","avatar_url":"https://github.com/imjoehaines.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sihae \u003ca href=\"https://github.com/imjoehaines/sihae\"\u003e\u003cimg alt=\"GitHub Actions status\" src=\"https://github.com/imjoehaines/sihae/workflows/CI/badge.svg\"\u003e\u003c/a\u003e\n\nSihae is a PHP 7.4+ blog engine built with Slim Framework and Doctrine ORM.\n\n[![Sihae home page](screenshot.png)](https://raw.githubusercontent.com/imjoehaines/sihae/master/screenshot.png)\n\n## Features\n\n- Publish blog posts\n- Markdown formatting ([CommonMark](http://commonmark.org/) via [league/commonmark](https://github.com/thephpleague/commonmark))\n- Syntax highlighting (via [Prism.js](http://prismjs.com/))\n- Tag posts and explore all posts by their tag(s)\n- Archive list of all posts grouped by year\n\n## Requirements\n\n- PHP 7.4+\n- MySQL or SQLite\n\n## Setup\n\n```sh\n$ composer install\n$ cp .env.example .env\n# configure .env with database connection details\n# create a database matching the \"DB_NAME\" in your .env\n$ php vendor/bin/doctrine-migrations migrations:migrate\n```\n\n## Deploying\n\n```sh\n$ git fetch\n$ git rebase\n$ composer install --no-dev --no-suggest --optimize-autoloader\n$ php vendor/bin/doctrine-migrations migrations:migrate\n$ rm data/cache/router.php\n```\n\n## Configuration\n\nAll configuration is done in the `.env` file at the root of the project. It contains the following options:\n\n- `DB_DRIVER` \u0026mdash; choose which database to use, possible options are:\n  - `pdo_mysql` to use MySQL\n  - `pdo_sqlite` to use SQLite\n- `DB_PATH` \u0026mdash; the path to store the database; this **must** be an absolute path! This is only required if `DB_DRIVER` is set to `pdo_sqlite`.\n- `DB_HOST` \u0026mdash; the host to connect to the database on. This is only required if `DB_DRIVER` is set to `pdo_mysql`\n- `DB_PORT` \u0026mdash; the port to use when connecting to the database host. This is only used if `DB_DRIVER` is set to `pdo_mysql` and the default MySQL port (3306) will be used if this is omitted\n- `DB_NAME` \u0026mdash; the name of the database to use. This is only required if `DB_DRIVER` is set to `pdo_mysql`\n- `DB_USER` \u0026mdash; the user to connect to the database with. This is only required if `DB_DRIVER` is set to `pdo_mysql`\n- `DB_PASSWORD` \u0026mdash; the password to use for the `DB_USER`. This is only required if `DB_DRIVER` is set to `pdo_mysql`\n- `APPLICATION_ENV` \u0026mdash; the environment the application is running in. Locally this should be `development` and should be `production` when deployed\n- `SIHAE_TITLE` \u0026mdash; the title of your blog\n- `SIHAE_SUMMARY` \u0026mdash; the summary (line below the title) of your blog\n- `ENABLE_REGISTRATION` \u0026mdash; whether to allow users to be registered. This should be turned off after the you have registered your initial user\n\n## Custom Themes\n\nCreating a custom theme is super easy; Sihae will try to load template files from `templates/theme` before falling back to the root of `templates`. This means you can replace any template by creating a file with the same name inside `templates/theme`. For example, you can create a custom 404 page by creating `templates/theme/404.phtml`.\n\nThe `templates/theme` directory is ignored by git in the Sihae repository so it won't be overwritten in future versions.\n\nBe sure to read the [Plates](http://platesphp.com/) documentation for details on how to create templates.\n\nIf you need to include images, CSS or JavaScript in your theme, there is a `public/theme` directory to store any assets your theme requires. This is also ignored by git.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjoehaines%2Fsihae","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimjoehaines%2Fsihae","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjoehaines%2Fsihae/lists"}