# PHP Client without composer

**URL:** https://discuss.elastic.co/t/php-client-without-composer/68469
**Category:** Elasticsearch
**Created:** [December 8, 2016, 6:51pm UTC](https://discuss.elastic.co/t/php-client-without-composer/68469 "2016-12-08T18:51:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mc1392](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mc1392](https://discuss.elastic.co/u/mc1392)
#### Post date: [December 8, 2016, 6:51pm UTC](https://discuss.elastic.co/t/php-client-without-composer/68469/1 "2016-12-08T18:51:49Z")

</div>

I see in the docs that **composer** and **ext-curl** are required for the **PHP client**.

I wouldn't want to install things on my shared servers.  
I don't want to spin up an EC2 instance just to accommodate my search.

Isn't there a way to do this over PURE **REST**?  
Without having to install **composer**?  
I don't mind the **ext-curl**.

---

<div class="post-metadata">

### Author: ![pmoust](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pmoust/32/11656_2.png) [@pmoust](https://discuss.elastic.co/u/pmoust)
#### Post date: [December 9, 2016, 1:44pm UTC](https://discuss.elastic.co/t/php-client-without-composer/68469/2 "2016-12-09T13:44:22Z")

</div>

Hi @mc1392, I moved your question to the appropriate forum as it was not something Cloud-specific.

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [December 9, 2016, 3:36pm UTC](https://discuss.elastic.co/t/php-client-without-composer/68469/3 "2016-12-09T15:36:08Z")

</div>

I'm fairly sure composer is just used to fetch the dependencies and build the autoload files. You should be able to use composer to generate the things you want and go from there. It has been a few years since I did PHP development and that was on MediaWiki which didn't use composer so we had to do this kind of thing.

> [@mc1392](#):
>
> I don't want to spin up an EC2 instance just to accommodate my search.

I don't think that has anything to do with composer.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 12, 2016, 3:36pm UTC](https://discuss.elastic.co/t/php-client-without-composer/68469/4 "2016-12-12T15:36:12Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
