Download the PHP package getherbie/herbie without Composer

On this page you can find all versions of the php package getherbie/herbie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package herbie

Packagist GitHub (pre-)release License PHP from Packagist

Herbie

Create small but fully functional websites or blogs in no time and with little effort 👌

Herbie 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.

Featuring

Herbie is powered by proven libraries:

Thanks to its plugin system Herbie is highly customizable and brings support for:

Herbie implements the following PHP standard recommendations:

Herbie is well tested:

Supported PHP Versions

8.0 / 8.1 / 8.2 / 8.3

Installation

With PHP and Composer on your machine

The easiest way to install Herbie is through Composer. Run the following commands in your terminal to create a new project and install all dependent libraries.

composer create-project getherbie/start-website mywebsite

Change to the mywebsite/web directory.

cd mywebsite/web

Start the built-in webserver.

php -S localhost:8888 index.php

Open http://localhost:8888 with your browser. You should see your first Herbie website.

With Docker and Docker Compose on your machine

Create website and install dependencies.

docker run --rm -v $PWD:/app composer create-project --ignore-platform-reqs getherbie/start-website mywebsite

Change to the mywebsite directory and start website.

cd mywebsite
docker compose up website

Open http://localhost:8888 with your browser.

Development Environment

If you need a development environment, you can follow these steps.

With PHP and Composer on your machine

Clone the GitHub repository.

git clone https://github.com/getherbie/herbie.git

Change to the herbie directory.

cd herbie

Install Composer dependencies.

composer install

Change to the website/web directory.

cd website/web/

Start PHP's internal web server.

php -S localhost:8888 index.php

Open localhost:8888 with your favorite web browser.

If you want to have additional console output or logging information, set the debug environment variable.

HERBIE_DEBUG=1 php -S localhost:8888 index.php

If you want to use Xdebug (3.x), start the internal web server as follows. Hint: For this to work, Xdebug must of course be installed.

XDEBUG_MODE=debug php -S localhost:8888 index.php

With Docker and Docker Compose on your machine

Clone the GitHub repository.

git clone https://github.com/getherbie/herbie.git

Change to the herbie directory.

cd herbie

Start PHP's built-in web server and launch website.

docker compose up website

Open localhost:8888 with your favorite web browser.

Other Docker Compose commands are

# install Composer dependencies
docker compose run install

# run test suite
docker compose run test

# start test suite website
docker compose up test-website

# run bash terminal
docker compose run bash

You can use different PHP versions.

PHP_VERSION=8.0 docker compose up website
PHP_VERSION=8.1 docker compose up website
PHP_VERSION=8.2 docker compose up website
PHP_VERSION=8.3 docker compose up website

Tests

With PHP on your machine

# run tests
php vendor/bin/codecept run

# run unit tests
php vendor/bin/codecept run unit

# run integration tests
php vendor/bin/codecept run integration

# run acceptance tests
php vendor/bin/codecept run acceptance

# run tests with Code Coverage
XDEBUG_MODE=coverage php vendor/bin/codecept run --coverage --coverage-xml --coverage-html

With Docker Compose on your machine

Open the container shell

docker compose run bash

Run tests within the container

# run tests
php vendor/bin/codecept run

# run unit tests
php vendor/bin/codecept run unit

# run integration tests
php vendor/bin/codecept run integration

# run acceptance tests
php vendor/bin/codecept run acceptance

# run tests with Code Coverage
XDEBUG_MODE=coverage php vendor/bin/codecept run --coverage --coverage-xml --coverage-html

More Information

For more information, see https://herbie.tebe.ch.


All versions of herbie with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
composer-runtime-api Version ^2.0
ausi/slug-generator Version ^1.1
imagine/imagine Version ^1.3
psr/container Version ^1.1
psr/event-dispatcher Version ^1.0
psr/http-message Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^1.1
psr/simple-cache Version ^1.0
symfony/console Version ^5.0
symfony/finder Version 5.4
symfony/yaml Version ^5.4
twig/twig Version ^3.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package getherbie/herbie contains the following files

Loading the files please wait ....