Giter VIP home page Giter VIP logo

Comments (10)

raykolbe avatar raykolbe commented on July 19, 2024

We now depend on DOMPDF Packagist releases. Even though there isn't a tagged release of DOMPDF, we lock in to a specific commit, so there is no need to worry about the master branch changing over time.

This releases has been tagged at v0.3.1 https://github.com/raykolbe/DOMPDFModule/tree/v0.3.1

from dompdfmodule.

bakura10 avatar bakura10 commented on July 19, 2024

I have a problem with this. Now, it depends on DomPDF on GitHub, which itself depends on a strange library called: "phenx/php-font-lib"

However, whenever I deploy, I have errors because of this. Locally, it the "phenx" folder is also empty.

from dompdfmodule.

raykolbe avatar raykolbe commented on July 19, 2024

Hrmm. Even after deleting your whole vendor directory and doing a fresh update?

I also use minimum-stability: dev, which dompdf requires it seems. Not sure if you have that in your composer file or if that would affect things.

from dompdfmodule.

bakura10 avatar bakura10 commented on July 19, 2024

I also have those settings. In local no error are thrown, except that the "phenx" folder is completely empty (which is strange btw). I tried to explicitly set the dependency in my composer.json, but still, "phenx" is empty. When deploying in Amazon Elastic Beanstalk, an error is thrown because of this package, and my application cannot be deployed.

I had to go back to v 0.2.0.

from dompdfmodule.

raykolbe avatar raykolbe commented on July 19, 2024

I just did a Composer self-update, deleted my vendor dir, then a clean Composer update and have all of the files in vendor/phenx/php-font-lib directory.

What does your composer.json file look like?

from dompdfmodule.

bakura10 avatar bakura10 commented on July 19, 2024

This is strange indeed :/.

{
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "2.2.1",
        "symfony/serializer": "2.3.2",
        "zf-commons/zfc-rbac": "0.2.0",
        "aws/aws-sdk-php-zf2": "1.0.3",
        "slm/mail": "1.0.1",
        "doctrine/dbal": "2.4.0-RC2",
        "doctrine/orm": "2.4.0-RC2",
        "doctrine/doctrine-module": "0.8.0-beta1",
        "doctrine/doctrine-orm-module": "0.8.0-beta1",
        "dino/dompdf-module": "0.3.1",
        "paypal/adaptivepayments-sdk-php": "3.4.102",
        "zfr/zfr-mailchimp": "1.0.0-beta2",
        "zfr/zfr-mailchimp-module": "1.0.0-beta2"
    }
}

from dompdfmodule.

raykolbe avatar raykolbe commented on July 19, 2024

What's the output after a Composer update? Also, what version of Composer
are you using?

On Thu, Sep 5, 2013 at 9:35 AM, Michaël Gallego [email protected]:

This is strange indeed :/.

{
"minimum-stability": "dev",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.2.1",
"symfony/serializer": "2.3.2",
"zf-commons/zfc-rbac": "0.2.0",
"aws/aws-sdk-php-zf2": "1.0.3",
"slm/mail": "1.0.1",
"doctrine/dbal": "2.4.0-RC2",
"doctrine/orm": "2.4.0-RC2",
"doctrine/doctrine-module": "0.8.0-beta1",
"doctrine/doctrine-orm-module": "0.8.0-beta1",
"dino/dompdf-module": "0.3.1",
"paypal/adaptivepayments-sdk-php": "3.4.102",
"zfr/zfr-mailchimp": "1.0.0-beta2",
"zfr/zfr-mailchimp-module": "1.0.0-beta2"
}}


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-23867781
.

from dompdfmodule.

bakura10 avatar bakura10 commented on July 19, 2024

In local I have no error. When I deploy to Elastic Beanstalk, it says that it cannot retrieve phenx because of an uncommitted "README" file in phenx (yeah I know this is strange….).

from dompdfmodule.

raykolbe avatar raykolbe commented on July 19, 2024

Is there a higher level git repo that is conflicting with your vendor directory?

from dompdfmodule.

bakura10 avatar bakura10 commented on July 19, 2024

Mmhh I'm not on my main computer so I cannot tell you but no, nothing fancy. It's the first time that running Composer leads to an empty folder for one dependency :/.

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.