Skip to content

PhpSpreadsheet without Composer #1969

Answered by MarkBaker
KK4HFJ asked this question in Q&A
Mar 29, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Is the world regressing back to the 20th century?

You don't even mention what version of PHP you're running that prevents use of composer, namespacing or autoloading; but these are all very different things.

Official statement first:

Composer is the only official and supported solution to use PhpSpreadsheet. Alternative custom solutions are possible, but I'd strongly advise against them. Not using composer will give you more work to set up, and potential issues to maintain.

It is possible to have composer installed locally on your development environment, run it to create its vendor folder, and then just push all of the generated files to the production server, with a single include to …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Hydoraqrx811
Comment options

Answer selected by PowerKiKi
Comment options

@Hydoraqrx811
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants