2017 © Pedro Peláez
 

library laravel-tcpdf

tcpdf support for laravel 5

image

elibyy/laravel-tcpdf

tcpdf support for laravel 5

  • Wednesday, February 10, 2016
  • by elibyy
  • Repository
  • 8 Watchers
  • 11 Stars
  • 9,577 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 4 Open issues
  • 8 Versions
  • 6 % Grown

The README.md

PLEASE NOTE: This repository is no logner maintained please use new one

Laravel 5 TCPDF

A simple Laravel 5 service provider with some basic configuration for including the TCPDF library, (*1)

Installation

for laravel 5.1 use the 5.1 branch or version 0.0.4

The Laravel TCPDF service provider can be installed via composer by requiring the elibyy/laravel-tcpdf package in your project's composer.json. (The installation may take a while, because the package requires TCPDF. Sadly its .git folder is very heavy), (*2)

{
    "require": {
        "elibyy/laravel-tcpdf": "0.*"
    }
}

Next, add the service provider to config/app.php., (*3)

'providers' => [
    //..
    'Elibyy\TCPDF\ServiceProvider',
]

That's it! You're good to go., (*4)

Here is a little example:, (*5)

use PDF;

PDF::SetTitle('Hello World');

PDF::AddPage();

PDF::Write(0, 'Hello World');

PDF::Output('hello_world.pdf');

For a list of all available function take a look at the TCPDF Documentation, (*6)

Configuration

Laravel-TCPDF comes with some basic configuration. If you want to override the defaults, you can publish the config, like so:, (*7)

php artisan vendor:publish

Now access config/laravel-tcpdf.phpto customize., (*8)

The Versions

10/02 2016

dev-master

9999999-dev

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

19/10 2015

5.1.x-dev

5.1.9999999.9999999-dev

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

19/10 2015

v0.0.6

0.0.6.0

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

19/10 2015

v0.0.5

0.0.5.0

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

28/07 2015

v0.0.4

0.0.4.0

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

06/07 2015

v0.0.3

0.0.3.0

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

28/06 2015

v0.0.2

0.0.2.0

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y

laravel pdf tcpdf

01/03 2015

v0.0.1

0.0.1.0

tcpdf support for laravel 5

  Sources   Download

proprietary

The Requires

 

by eli y