Comments (5)
@sovetski the information about "no fixed" dependencies is in the README.txt just some lines above your quoted text:
Lines 20 to 22 in bda0af0
So at the end it depends on the library you need how to install it - that's why Max send you a link to an example of FPDF.
I'm more wondering why you have a folder structure simliar to composer (the vendor
folder) but require the package manually?
from fpdi.
You have to require FPDF too:
require_once('/your/path/to/fpdf/src/fpdf.php');
from fpdi.
You have to require FPDF too:
require_once('/your/path/to/fpdf/src/fpdf.php');
Is it something that we have in the documentation? If not, I can do a quick PR to precise that we have to do it
from fpdi.
This is part of the FPDF documentation and not of FPDI. It can be found in this example: http://www.fpdf.org/en/tutorial/tuto1.htm
from fpdi.
Thank you @JanSlabon for the clarification.
why you have a folder structure simliar to composer (the vendor folder) but require the package manually?
It was for a WordPress website, it is a real problem on this kind of CMS to load composer autoload, because we can get a conflict with package versions with other plugins which loads also their own composer. The solution is to prefix namespaces of dependencies or just load what we really need manually (a dirty solution but sometimes we have not choice)
from fpdi.
Related Issues (20)
- Custom Font HOT 3
- Added Text missing except on first page when viewing with some PDF software (incl. Acrobat) HOT 1
- setasign\\FpdiPdfParser\\PdfParser\\PdfPars Class not founded HOT 3
- PDF/A-3 with TCPDF (parameter not transmit)
- How wrap long title HOT 3
- FPDI - Getting "CrossReferenceException::OBJECT_NOT_FOUND" while trying to ImportPage from existing PDF file
- Indirect references in link annotation dictionaries creates corrupted PDFs (when FPDI is used with FPDF)
- Unable to find PDF file header. HOT 2
- while I setSourceFile ,then importPage, the seal missed HOT 1
- Problem with Y Coordinate on different page size HOT 2
- Undefined property: setasign\Fpdi\Tcpdf\Fpdi::$PDFVersion HOT 8
- Set Meta Data HOT 3
- Getting error while adding custom font. HOT 1
- (Question) Replace an Image inside a PDF HOT 1
- Snyk ReDoS vulnerability HOT 1
- WriteHTML() not possible anymore HOT 2
- doesn't support cryllic alphabet HOT 3
- Parser have issue here HOT 2
- Undefined TCPDF constant caused by opcache preloading HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpdi.