Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Add Endobox bootstrap class (close #10)
Browse files Browse the repository at this point in the history
Bugfix in Factory (NullRenderer instances)
Move to 3.0.0
  • Loading branch information
younishd committed Sep 23, 2017
1 parent 60be257 commit 7dee64b
Show file tree
Hide file tree
Showing 9 changed files with 482 additions and 248 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor/
.directory
/wiki/
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ php:
- nightly
- hhvm

before_script: composer install --no-dev --ignore-platform-reqs
before_script: composer install --ignore-platform-reqs

script: phpunit --bootstrap vendor/autoload.php tests
script: ./test.sh

matrix:
fast-finish: true
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [Unreleased]
### Added
### Changed

## [3.0.0] - 2017-09-23
### Added
- `Endobox` bootstrap class
### Changed
- Use a bootstrap class and inject `Factory` dependencies
- Fix minor bug in `Factory`: `NullRenderer` was being instantiated multiple times for no reason
- Travis-ci using test.sh and installing `require-dev` packages

## [2.4.0] - 2017-03-02
### Added
- Boxes can now be cloned (using `clone`)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ composer require younishd/endobox
## Hello world

```php
$endobox = new endobox\Factory('path/to/templates');
$endobox = endobox\Endobox::create('path/to/templates');

$box = $endobox('hello'); // omit extension

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "younishd/endobox",
"description": "Awww this PHP template engine is so cute.",
"version": "2.4.0",
"version": "3.0.0",
"type": "library",
"keywords": ["template-engine", "php-template", "php", "parsedown", "markdown", "php7", "cute", "simple", "template", "closure", "box"],
"homepage": "https://github.com/younishd/endobox",
Expand All @@ -22,7 +22,7 @@
"pimple/pimple": "~3.0"
},
"require-dev": {
"phpunit/phpunit": "^5.4"
"phpunit/phpunit": "^6.3"
},
"autoload":
{
Expand Down
Loading

0 comments on commit 7dee64b

Please sign in to comment.