Giter VIP home page Giter VIP logo

Comments (5)

raykolbe avatar raykolbe commented on July 19, 2024

When you say you manually installed DOMPDFModule, did you also manually create the class map?

Do you happen to know why DOMPDFModule wouldn't install for you? What was the error message you received on install?

from dompdfmodule.

wilariz avatar wilariz commented on July 19, 2024

I means downloaded module in zip and put in vendor/dino folder so add a line in autoload_namespaces file of composer folder.
this line I added : 'DOMPDFModule' => $vendorDir . '/dino/DOMPDFModule/src/', my project load the module but i have this error when I try to create a pdf.
this is my error :
Fatal error: Class 'DOMPDF' not found in C:\xampp\htdocs\antimicrobiano\vendor\dino\DOMPDFModule\src\DOMPDFModule\View\Renderer\PdfRenderer.php on line 77.
I suppose I have to call dompdf class but where I should to do this?

from dompdfmodule.

raykolbe avatar raykolbe commented on July 19, 2024

What was the error message you received when you attempted to install DOMPDFModule? I think we should start there.

from dompdfmodule.

vinigarcia87 avatar vinigarcia87 commented on July 19, 2024

I couldn't install the DOMPDFModule by composer too!
I'm using like this:
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.*"
}

,"require": {
    "dino/DOMPDFModule": "dev-master"
}

}
When I execute "php composer.phar update" it saids:

  • The requested package dino/dompdfmodule dev-master could not be found

from dompdfmodule.

raykolbe avatar raykolbe commented on July 19, 2024

@wilariz Please delete DOMPDFModule and DOMPDF from your vendor directory, change your composer.json file to have "dino/dompdf-module": "dev-master" and run php composer.phar update. A recent commit to this package does not rely on the external DOMPDF package now (it is included with DOMPDFModule now).

@vinigarcia87 Please update your composer.json file to use "dino/dompdf-module" : "dev-master" and perform a php composer.phar update. This should resolve your issue.

from dompdfmodule.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.