Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing without composer #783

Closed
D0Gmatist opened this issue Apr 19, 2016 · 10 comments
Closed

Installing without composer #783

D0Gmatist opened this issue Apr 19, 2016 · 10 comments

Comments

@D0Gmatist
Copy link

D0Gmatist commented Apr 19, 2016

Tell me please. How to install without using the composer PHPword?

@AcademyLime
Copy link

+1

2 similar comments
@ghost
Copy link

ghost commented Sep 14, 2016

+1

@Alvalvar
Copy link

+1

@DotAmzi
Copy link

DotAmzi commented Sep 23, 2016

What's your problem with composer?
With composer it's easier to manage updates from library.
It's not recommendable, install without composer.

@tcotys
Copy link

tcotys commented Oct 12, 2016

Hi,
I know that composer is a better way to install and manage libraries,
but due to host limitation, I doesn't have ssh access to my website (only ftp access),
therefore, I'm not able install composer nor install composer libraries.
All I can do is to drag and drop files and manage everything manually
(which might not be the best way, I admit, but it's the only one for me)
Regards

Arnaud

@jarrettj
Copy link

Dude you need to get off your shitty provider! asap. There are so many cool cloud offerings out there that give you root access to vm machines. Choose one. :)

@tcotys
Copy link

tcotys commented Oct 13, 2016

I have my reason to keep this provider (quite good quality service, no need of credit card/paypal or any internet banking, nice privacy politics). I have also some budget limitation which forbid me to add the ssh option with the same provider.
Maybe I'm the only one in this case, maybe not.

(also sorry for possible confusion coming from my bad english)

@tcotys
Copy link

tcotys commented Oct 14, 2016

Anyway, the ugly workaround I have found is to install PHPWord on my local machine using composer, then paste it on the server. It works (my local configuration is the same as the one of the website).

@markhughes
Copy link

Also in the case that you're building add-ons for software that requires distributing.

It's very simple though.

Download PHPWord and run composer install on your local machine in the folder. Rename the folder from say PHPWord-0.13.0 to PHPWord and put it into your project (in my case, this was lib/PHPWord.

Then you can include it like:

include("lib/PHPWord/bootstrap.php");

The size of this library was 130mb for me - just take note of that!

@abelcallejo
Copy link

Tell me please. How to install without using the composer PHPword?

If the problem is about the "slowness" of Composer then all you need is to install a plugin as stated in this stackoverflow answer. I hope it helps for those who got frustrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

9 participants