{"id":13660206,"url":"https://github.com/getherbie/herbie","last_synced_at":"2025-12-16T23:59:26.869Z","repository":{"id":12950804,"uuid":"15628938","full_name":"getherbie/herbie","owner":"getherbie","description":"Simple and Customizable Flat-File Content Management System powered by PHP, Twig, Markdown, and other Human-Readable Text Files.","archived":false,"fork":false,"pushed_at":"2025-05-23T05:13:47.000Z","size":3856,"stargazers_count":87,"open_issues_count":6,"forks_count":15,"subscribers_count":7,"default_branch":"2.x","last_synced_at":"2025-09-27T14:51:44.432Z","etag":null,"topics":["blog","cms","flat-file","flat-file-cms","flatfile","flatfilecms","hacktoberfest","markdown","php","textile","twig","website-builder"],"latest_commit_sha":null,"homepage":"https://herbie.tebe.ch","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getherbie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-01-04T08:16:37.000Z","updated_at":"2025-09-24T16:53:44.000Z","dependencies_parsed_at":"2024-04-09T18:55:27.337Z","dependency_job_id":"775f57ae-bb98-4d99-b05e-ac757571f024","html_url":"https://github.com/getherbie/herbie","commit_stats":{"total_commits":1258,"total_committers":7,"mean_commits":"179.71428571428572","dds":0.04610492845786962,"last_synced_commit":"46da456c7a191b03f7552a886ad78c1764a6aa2b"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/getherbie/herbie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getherbie%2Fherbie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getherbie%2Fherbie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getherbie%2Fherbie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getherbie%2Fherbie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getherbie","download_url":"https://codeload.github.com/getherbie/herbie/tar.gz/refs/heads/2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getherbie%2Fherbie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27773356,"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-12-16T02:00:10.477Z","response_time":57,"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","cms","flat-file","flat-file-cms","flatfile","flatfilecms","hacktoberfest","markdown","php","textile","twig","website-builder"],"created_at":"2024-08-02T05:01:18.413Z","updated_at":"2025-12-16T23:59:26.851Z","avatar_url":"https://github.com/getherbie.png","language":"PHP","readme":"[![Packagist](https://img.shields.io/packagist/dt/getherbie/herbie.svg)](https://packagist.org/packages/getherbie/herbie)\n[![GitHub (pre-)release](https://img.shields.io/github/release/getherbie/herbie/all.svg)](https://github.com/getherbie/herbie/releases)\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/getherbie/herbie/blob/master/LICENCE.md)\n[![PHP from Packagist](https://img.shields.io/packagist/php-v/getherbie/herbie.svg)](https://packagist.org/packages/getherbie/herbie)\n\n# Herbie\n\n\u003e Create \u003cu\u003esmall\u003c/u\u003e but fully functional websites or blogs in no time and with little effort 👌\n\nHerbie is a simple, modern, fast and highly customizable flat-file Content Management System (CMS) powered by PHP, Twig, Markdown, Textile, reStructuredText and other human-readable text files.\n\n## Featuring\n\nHerbie is powered by proven libraries:\n\n* [Markdown](https://www.markdownguide.org), [reStructuredText](https://docutils.sourceforge.io/rst.html) and [Textile](https://textile-lang.com) for formatting page content\n* [Twig](https://twig.symfony.com) template engine for rendering layouts and extending the core\n* [Yaml](http://www.yaml.org) and [JSON](https://www.json.org) for data structure files\n* [Composer](http://getcomposer.org) and [Packagist](https://packagist.org) for Dependency and Plugin Management\n\nThanks to its plugin system Herbie is highly customizable and brings support for:\n\n* Application and Route Middlewares\n* Event Listeners\n* Twig Filters, Twig Globals, Twig Functions and Twig Tests\n* Symfony Console Commands\n\nHerbie implements the following PHP standard recommendations:\n\n* [PSR-1](https://www.php-fig.org/psr/psr-1/) Basic Coding Standard\n* [PSR-3](https://www.php-fig.org/psr/psr-3/) Logger Interface\n* [PSR-4](https://www.php-fig.org/psr/psr-4/) Autoloading Standard\n* [PSR-7](https://www.php-fig.org/psr/psr-7/) HTTP Message Interface\n* [PSR-11](https://www.php-fig.org/psr/psr-11/) Container Interface\n* [PSR-12](https://www.php-fig.org/psr/psr-12/) Extended Coding Style\n* [PSR-14](https://www.php-fig.org/psr/psr-14/) Event Dispatcher\n* [PSR-15](https://www.php-fig.org/psr/psr-15/) HTTP Handlers\n* [PSR-16](https://www.php-fig.org/psr/psr-16/) Simple Cache\n* [PSR-17](https://www.php-fig.org/psr/psr-17/) HTTP Factories\n\nHerbie is well tested:\n\n- Unit, Integration and Acceptance Tests with [Codeception](https://codeception.com)\n- Static Code Analysis with [PHPStan](https://phpstan.org)\n- Code Fixing with [PHP Coding Standards Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)\n\n## Supported PHP Versions\n\n8.0 / 8.1 / 8.2 / 8.3\n\n## Installation\n\n### With PHP and Composer on your machine \n\nThe easiest way to install Herbie is through Composer.\nRun the following commands in your terminal to create a new project and install all dependent libraries.\n\n    composer create-project getherbie/start-website mywebsite\n\nChange to the `mywebsite/web` directory.\n\n    cd mywebsite/web\n\nStart the built-in webserver.\n    \n    php -S localhost:8888 index.php\n\nOpen \u003chttp://localhost:8888\u003e with your browser.\nYou should see your first Herbie website. \n\n### With Docker and Docker Compose on your machine\n\nCreate website and install dependencies.\n\n    docker run --rm -v $PWD:/app composer create-project --ignore-platform-reqs getherbie/start-website mywebsite\n\nChange to the `mywebsite` directory and start website.\n\n    cd mywebsite\n    docker compose up website\n\nOpen \u003chttp://localhost:8888\u003e with your browser.\n\n## Development Environment\n\nIf you need a development environment, you can follow these steps.\n\n### With PHP and Composer on your machine\n\nClone the GitHub repository.\n\n    git clone https://github.com/getherbie/herbie.git\n\nChange to the `herbie` directory.\n\n    cd herbie\n\nInstall Composer dependencies.\n\n    composer install\n\nChange to the `website/web` directory.\n\n    cd website/web/\n\nStart PHP's internal web server.\n\n    php -S localhost:8888 index.php\n\nOpen `localhost:8888` with your favorite web browser.\n\nIf you want to have additional console output or logging information, set the debug environment variable.\n\n    HERBIE_DEBUG=1 php -S localhost:8888 index.php\n\nIf you want to use Xdebug (3.x), start the internal web server as follows.\nHint: For this to work, Xdebug must of course be installed.\n\n    XDEBUG_MODE=debug php -S localhost:8888 index.php\n\n### With Docker and Docker Compose on your machine\n\nClone the GitHub repository.\n\n    git clone https://github.com/getherbie/herbie.git\n\nChange to the `herbie` directory.\n\n    cd herbie\n\nStart PHP's built-in web server and launch website.\n\n    docker compose up website\n\nOpen `localhost:8888` with your favorite web browser.\n\nOther Docker Compose commands are\n\n    # install Composer dependencies\n    docker compose run install\n\n    # run test suite\n    docker compose run test\n\n    # start test suite website\n    docker compose up test-website\n\n    # run bash terminal\n    docker compose run bash\n\nYou can use different PHP versions.\n\n    PHP_VERSION=8.0 docker compose up website\n    PHP_VERSION=8.1 docker compose up website\n    PHP_VERSION=8.2 docker compose up website\n    PHP_VERSION=8.3 docker compose up website\n\n## Tests\n\n### With PHP on your machine\n\n    # run tests\n    php vendor/bin/codecept run\n\n    # run unit tests\n    php vendor/bin/codecept run unit\n\n    # run integration tests\n    php vendor/bin/codecept run integration\n\n    # run acceptance tests\n    php vendor/bin/codecept run acceptance\n\n    # run tests with Code Coverage\n    XDEBUG_MODE=coverage php vendor/bin/codecept run --coverage --coverage-xml --coverage-html\n\n### With Docker Compose on your machine\n\nOpen the container shell\n\n    docker compose run bash\n\nRun tests within the container\n\n    # run tests\n    php vendor/bin/codecept run\n\n    # run unit tests\n    php vendor/bin/codecept run unit\n\n    # run integration tests\n    php vendor/bin/codecept run integration\n    \n    # run acceptance tests\n    php vendor/bin/codecept run acceptance\n\n    # run tests with Code Coverage\n    XDEBUG_MODE=coverage php vendor/bin/codecept run --coverage --coverage-xml --coverage-html\n\n## More Information\n\nFor more information, see \u003chttps://herbie.tebe.ch\u003e.\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetherbie%2Fherbie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetherbie%2Fherbie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetherbie%2Fherbie/lists"}