PHPackages                             sotatek-ngoc-bach/thinreports-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sotatek-ngoc-bach/thinreports-php

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

sotatek-ngoc-bach/thinreports-php
=================================

An implementation of Thinreports Generator in PHP. It provides easy and simple way for generating a PDF on pure PHP

0.8.1(9y ago)06MITPHPPHP &gt;=5.3.0

Since Jul 8Pushed 6y agoCompare

[ Source](https://github.com/Sotatek-NgocBach/thinreports-php)[ Packagist](https://packagist.org/packages/sotatek-ngoc-bach/thinreports-php)[ Docs](https://github.com/thinreports-php)[ RSS](/packages/sotatek-ngoc-bach-thinreports-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Thinreports Generator for PHP
=============================

[](#thinreports-generator-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/74db6615e8d4fb61b68cbcba9c8a7cfb3bf97e1872148cf84eee67d6d7022174/68747470733a2f2f706f7365722e707567782e6f72672f7468696e7265706f7274732d7068702f7468696e7265706f7274732d7068702f76657273696f6e)](https://packagist.org/packages/thinreports-php/thinreports-php)[![Latest Unstable Version](https://camo.githubusercontent.com/fe76be725744d5702b4c5208154002c626b863a4504adb72c4ec53461250687c/68747470733a2f2f706f7365722e707567782e6f72672f7468696e7265706f7274732d7068702f7468696e7265706f7274732d7068702f762f756e737461626c65)](//packagist.org/packages/thinreports-php/thinreports-php)[![Build Status](https://camo.githubusercontent.com/2b0e87a37c0c450ca9edbc12c3dd462e8c06ecf28499ea77e745e964e9827958/68747470733a2f2f7472617669732d63692e6f72672f7468696e7265706f7274732d7068702f7468696e7265706f7274732d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thinreports-php/thinreports-php)[![Code Climate](https://camo.githubusercontent.com/3ae47ddbd5520c5e2f2607204ac5911fdcd995a01b413450b422faba4159c06e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7468696e7265706f7274732d7068702f7468696e7265706f7274732d7068702f6261646765732f6770612e737667)](https://codeclimate.com/github/thinreports-php/thinreports-php)

---

Currently, [New layout format](https://github.com/thinreports/thinreports/issues/4) generated by Thinreports Editor 0.9+ is not supported. You can use Thinreports Editor 0.8 to refer to [How to install old version](http://www.thinreports.org/documentation/en/getting-started/installation.html). [The support project](https://github.com/thinreports-php/thinreports-php/projects/1) is in progress.

---

About
-----

[](#about)

Thinreports Generator for PHP is an implementation of the [Thinreports Generator](https://github.com/thinreports/thinreports-generator) in PHP. It provides easy and simple way for generating a PDF on pure PHP.

### What is Thinreports

[](#what-is-thinreports)

Thinreports is an open source report generation tools. It provides the Thinreports Editor which is a tool for designing a report format, and the Thinreports Generator for Ruby which is a library for generating a PDF.

Please see the following pages for further details.

- [Thinreports official site](http://www.thinreports.org)
- [Thinreports GitHub](https://github.com/thinreports)

Getting Started
---------------

[](#getting-started)

- [Features](#features)
- [Roadmap](https://github.com/thinreports-php/thinreports-php/milestones)
- [Quick Start](#quick-start)
- [Quick Reference](https://github.com/thinreports-php/thinreports-php/wiki/Quick-Reference)
- [Discussion Group on Gitter](https://gitter.im/thinreports-php/thinreports-php?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
- [Development Community](#development-community)

Supported PHP versions
----------------------

[](#supported-php-versions)

- PHP 5.3, 5.4, 5.5, 5.6, 7
- See [build result on TravisCI](https://travis-ci.org/thinreports-php/thinreports-php)

Compatibility with Thinreports
------------------------------

[](#compatibility-with-thinreports)

- Thinreports Editor &gt;= 0.8 and &lt; 0.9

Quick Start
-----------

[](#quick-start)

### Step1 Install Thinreports Editor

[](#step1-install-thinreports-editor)

See the [Official Installation Guide](http://www.thinreports.org/documentation/en/getting-started/installation.html).

### Step2 Install Thinreports Generator for PHP

[](#step2-install-thinreports-generator-for-php)

```
$ composer require thinreports-php/thinreports-php

```

### Step3 Create a report format file using the Editor

[](#step3-create-a-report-format-file-using-the-editor)

Follow ["Step1 Creating the layout for the report"](http://www.thinreports.org/documentation/en/getting-started/quickstart.html#toc-2) section in the official doucmentation.

### Step4 Write code for generating a PDF

[](#step4-write-code-for-generating-a-pdf)

```
