Skip to content

PhpSpreadsheet without Composer #1969

Answered by MarkBaker
KK4HFJ asked this question in Q&A
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

Comment options

You must be logged in to vote
0 replies
Answer selected by PowerKiKi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants