2017 © Pedro Peláez
 

library tcpdf-laravel

Better tcpdf support for laravel 5

image

beverio/tcpdf-laravel

Better tcpdf support for laravel 5

  • Friday, November 11, 2016
  • by beverio
  • Repository
  • 1 Watchers
  • 0 Stars
  • 241 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 19 Forks
  • 0 Open issues
  • 18 Versions
  • 0 % Grown

The README.md

Laravel 5.3 TCPDF

Forked from: elibyy/tcpdf-laravel, (*1)

Installation

Step 1

Require package using composer require beverio/tcpdf-laravel, (*2)

Step 2

Add the service provider and aliases to config/app.php., (*3)

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

//...

'aliases' => [
    //...
    'PDF' => Elibyy\TCPDF\Facades\TCPDF::class
]

Usage

Create a view in resources/views/. You can use all TCPDF methods with the PDF facade., (*4)


Close each view with, (*5)

PDF::Show();

In your controller use, (*6)

return PDF::inline('path.to.view', compact('var1', 'var2'), 'OptionalFilename.pdf');

to show a PDF file inline, or, (*7)

return PDF::save('path.to.view', compact('var1', 'var2'), 'OptionalFilename.pdf');

to force the user to download the file., (*8)

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

Configuration

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

php artisan vendor:publish

Now access config/tcpdf.php to customize., (*11)

The Versions

11/11 2016

dev-master

9999999-dev

Better tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by bever.io

laravel pdf tcpdf

24/08 2016

5.3.x-dev

5.3.9999999.9999999-dev

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

24/08 2016

5.3.0

5.3.0.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

19/04 2016

5.2.x-dev

5.2.9999999.9999999-dev

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

19/04 2016

5.2.3

5.2.3.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

19/04 2016

5.1.x-dev

5.1.9999999.9999999-dev

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

19/04 2016

5.1.3

5.1.3.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

19/04 2016

5.0.x-dev

5.0.9999999.9999999-dev

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

19/04 2016

5.0.3

5.0.3.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

08/03 2016

5.0.2

5.0.2.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

08/03 2016

5.1.2

5.1.2.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

08/03 2016

5.2.2

5.2.2.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

08/03 2016

5.2.1

5.2.1.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

08/03 2016

5.1.1

5.1.1.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

08/03 2016

5.0.1

5.0.1.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

10/02 2016

5.2.0

5.2.0.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

10/02 2016

5.1.0

5.1.0.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf

10/02 2016

5.0.0

5.0.0.0

tcpdf support for laravel 5

  Sources   Download

MIT

The Requires

 

by eli y

laravel pdf tcpdf