Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amethyst-php/template

Create custom templates using twig and save them in the database. Can be used to allow a user to edit the basic layout of an invoice/email without touching the code.
https://github.com/amethyst-php/template

amethyst amethyst-package api laravel template utility

Last synced: about 2 months ago
JSON representation

Create custom templates using twig and save them in the database. Can be used to allow a user to edit the basic layout of an invoice/email without touching the code.

Awesome Lists containing this project

README

        

# amethyst-template

[![Action Status](https://github.com/amethyst-php/template/workflows/test/badge.svg)](https://github.com/amethyst-php/template/actions)

[Amethyst](https://github.com/amethyst-php/amethyst) package.

# Requirements

PHP 7.1 and later.

## Installation

You can install it via [Composer](https://getcomposer.org/) by typing the following command:

```bash
composer require amethyst/template
```

The package will automatically register itself.

## Documentation

[Read](docs/index.md)

## Testing

Configure the .env file before launching `./vendor/bin/phpunit`