Closed roobiniano closed 2 years ago
Hi - you have to run the composer require command in the root folder, not the App folder - that way the package will be included in the vendor folder in the root, and including Composer's autoloader in the front controller will include the package's files automatically.
Hi dave, how are you?
i have a question to you, if you can answer that, i`ll be realy graitful
And the question is .... ¿How is the correct way to add de DomPdf library to the framework?
I just run composer require dompdf/dompdf in the app directory and composer install the library in vendor/dompdf, and i try to access from a an app controller in this way but its not working:
`
` that give a:
Fatal error Uncaught exception: 'Error'
Message: 'Class 'Dompdf\Dompdf' not found'
greatings!