I'm trying to add the following two classes:
https://packagist.org/packages/itbz/fpdi
https://packagist.org/packages/itbz/fpdf
I've included them in my composer.json
file:
"require-dev": {
"itbz/fpdi": "dev-master",
"itbz/fpdf": "1.7.2"
}
When I try to reference them in my app/config/app.php file like so:
'providers' => array (
.....
'itbz\fpdf',
'itbz\fpdi',
),
'aliases' => array (
.....
'Fpdf' => 'itbz\fpdf\Facades\Fpdf',
'Fpdi' => 'itbz\fpdi\Facades\Fpdi',
),
I get a 'class not found' error when I run composer install
for both.
I've done composer update
after I've included the require-dev information in composer.json
, so I believe the errors are in my referencing of the two classes in app/config/app.php
. I don't know how to reference them, so if someone is able to help that would be great.