PHPackages                             xorgxx/neox-pdf-bundle - 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. xorgxx/neox-pdf-bundle

ActiveLibrary

xorgxx/neox-pdf-bundle
======================

Neox pdf bundle for Symfony

0.1.2(2y ago)222proprietaryPHPPHP &gt;=8.1

Since Feb 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/xorgxx/NeoxToPdfBundle)[ Packagist](https://packagist.org/packages/xorgxx/neox-pdf-bundle)[ RSS](/packages/xorgxx-neox-pdf-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (21)Versions (4)Used By (0)

NeoxPdfBundle { Symfony 6 }
===========================

[](#neoxpdfbundle--symfony-6-)

This bundle provides service multi API to Pdf-convert in your application. Its main goal is to make it simple for you to manage integration additional tools!

Installation BETA VERSION !!
----------------------------

[](#installation-beta-version-)

Install the bundle for Composer !! as is still on beta version !!

```
  composer require xorgxx/neox-pdf-bundle
  or
  composer require xorgxx/neox-pdf-bundle:0.*

```

**NOTE:** *You may need to use \[ symfony composer dump-autoload \] to reload autoloading*

..... Done 🎈

Requirement !!!
---------------

[](#requirement-)

You will need to register to one or more API services, they will provide api key:

- Currently, we have implemented only one provider if you need more PR on [GitHub](https://github.com/xorgxx?tab=repositories). we will implement more in the future

ProviderenvFreemiumDocumentation[PDF-Layer](http://www.pdflayer.com)PDFLAYER\_DSN=pdflayer://opps:\[api-key\]@api.pdflayer.com/api/convertv[documentation](https://pdflayer.com/documentation)How ?
-----

[](#how-)

in order, you will need to add in .env Dsn for ex: pdflayer

```
  ....
  ###> NeoxToPdf ###
    PDFLAYER_DSN=pdflayer://opps:[api-key]@api.pdflayer.com/api/convert
  ###> NeoxToPdf ###
  ....
```

then add in config/packages/neox\_to\_pdf.yaml

```
  neox_to_pdf:
      directory_save: "/public/neoxPdf/"
      services:
          pdfLayer: "%env(PDFLAYER_DSN)%"
```

\*\* important : s c:c &amp; c dump-autoload \*\*

Controller
----------

[](#controller)

```
