PHPackages                             neysi/directprint - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. neysi/directprint

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

neysi/directprint
=================

Easy and direct file print from PHP

1.0.0(10y ago)218.3k10[1 issues](https://github.com/neysi/directprint/issues)MITPHPPHP &gt;=5.3.0

Since May 3Pushed 8y ago3 watchersCompare

[ Source](https://github.com/neysi/directprint)[ Packagist](https://packagist.org/packages/neysi/directprint)[ RSS](/packages/neysi-directprint/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP Direct Print
================

[](#php-direct-print)

This library allows printing files directly from PHP. Avoid print dialog preview in the web browser. Linux and MacOS Compatible. CUPS Required.

Installation
------------

[](#installation)

### Include the library

[](#include-the-library)

#### Composer

[](#composer)

If you are using composer, then add `neysi/directprint` as a dependency:

```
composer require neysi/directprint
```

#### Manual

[](#manual)

If you have no composer, download the code and include `autoload.php`

```
git clone https://github.com/neysi/directprint.git
```

```
