thujohn / pdf-l4

Dompdf for Laravel 4
MIT License
228 stars 72 forks source link

I cant publish config using this -> php artisan config:publish thujohn/pdf #36

Open simpleann opened 10 years ago

thujohn commented 10 years ago

Please explain more...

simpleann commented 10 years ago

Installation

Add thujohn/pdf to composer.json.

"thujohn/pdf": "dev-master"

I add this by doing this: "autoload": { "classmap": [ "app/commands", "app/controllers", "app/models", "app/database/migrations", "app/database/seeds", "app/tests/TestCase.php" ], "psr-0": [ "Thujohn/Pdf": "src/" ] },

Every time I will update my composer I get this error untitled

simpleann commented 10 years ago

I am done with my previous problem, my problem was still I cant publish the config using this code: php artisan config:publish thujohn/pdf and also with this code: php artisan config:publish --path="workbench/thujohn/bar/src/config" thujohn/pdf

I always get this untitled

thujohn commented 10 years ago

Why "workbench" ?

Did you add 'Thujohn\Pdf\PdfServiceProvider', ?

shahrulabubakar commented 10 years ago

hi, i got the same error and i already add 'Thujohn\Pdf\PdfServiceProvider'.when run the 'php artisan config:publish thujohn/pdf' still get the same error.

thujohn commented 10 years ago

Did you follow the installation procedure?

pioneer903 commented 10 years ago

Did anybody figured out the problem? I followed the installation instructions, but still get the same error pdf error

Thank you

pioneer903 commented 10 years ago

I gave up on this one, but other plugins were giving similar issue. I found that you have to type in git: composer dump-autoload