Install package

Hi,

I make with UserFrosting an application form and I want to output the result in PDF with a package.

I have install a package [dompdf] with Composer, all find, the package will be register in the autoload_psr4 file…

After that I have to put config in config/app.php but this file doesn’t exist. Where I can put the config info?

Thanks

I put this code in my config Sprinkles:
‘providers’ => [
Barryvdh\DomPDF\ServiceProvider::class,
],
‘aliases’ => [
‘PDF’ => Barryvdh\DomPDF\Facade::class,

      ],

I put use PDF; in my controller

But Userfrosting give this message.
Class ‘PDF’ not found

You don’t actually need to add any config or load services provider. For most external libraries, you simply load them via Composer and add the class to the use list. For DomPDF use Dompdf\Dompdf;

Thanks! Is working well