# Add elastic search in my php application

**URL:** <https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388>\
**Category:** Elasticsearch\
**Created:** [December 25, 2014, 6:55am UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388 "2014-12-25T06:55:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![publichealthapp](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@publichealthapp](https://discuss.elastic.co/u/publichealthapp)\
**Post date:** [December 25, 2014, 6:55am UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388/1 "2014-12-25T06:55:40Z")

</div>

Hi all, in my php web application storing the user details and address. Now  
i would like to implement search functionality using elastic search and  
don't know how to embed elastic search in php application. I'm newbie in  
elastic search and how can integrate elastic search in php application?

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jason\_Zhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_zhang/32/745_2.png) [@Jason\_Zhang](https://discuss.elastic.co/u/Jason_Zhang)\
**Post date:** [December 25, 2014, 7:54am UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388/2 "2014-12-25T07:54:00Z")

</div>

Here's the official Elasticsearch PHP client

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Also, you can use RESTful api.

On Wed 24.24.14 22:55, [publichealthapp@gmail.com](mailto:publichealthapp@gmail.com) wrote:

> Hi all, in my php web application storing the user details and address. Now  
> i would like to implement search functionality using Elasticsearch and  
> don't know how to embed Elasticsearch in php application. I'm newbie in  
> Elasticsearch and how can integrate Elasticsearch in php application?
> 
> Thanks
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/20141225075359.GA18261%40Lain.routerbf573c.com](https://groups.google.com/d/msgid/elasticsearch/20141225075359.GA18261%40Lain.routerbf573c.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 25, 2014, 1:12pm UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388/3 "2014-12-25T13:12:33Z")

</div>

If you need an example CirrusSearch is the name of the plugin that uses  
elasticsearch for MediaWiki. I can't attest to the code quality but it  
certainly gets the job done.

Nik  
On Dec 25, 2014 2:54 AM, "Jason Zhang" [mock2u@gmail.com](mailto:mock2u@gmail.com) wrote:

> Here's the official Elasticsearch PHP client
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/index.html)
> 
> Also, you can use RESTful api.
> 
> On Wed 24.24.14 22:55, [publichealthapp@gmail.com](mailto:publichealthapp@gmail.com) wrote:
> 
> > Hi all, in my php web application storing the user details and address.  
> > Now  
> > i would like to implement search functionality using Elasticsearch and  
> > don't know how to embed Elasticsearch in php application. I'm newbie in  
> > Elasticsearch and how can integrate Elasticsearch in php application?
> > 
> > Thanks
> > 
> > --  
> > You received this message because you are subscribed to the Google  
> > Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send  
> > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/20141225075359.GA18261%40Lain.routerbf573c.com](https://groups.google.com/d/msgid/elasticsearch/20141225075359.GA18261%40Lain.routerbf573c.com)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2F%2Ba%2B7EptMR6CoT8jC65X7x2tToptDrgXOfwMGCbPyVQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2F%2Ba%2B7EptMR6CoT8jC65X7x2tToptDrgXOfwMGCbPyVQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![publichealthapp](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@publichealthapp](https://discuss.elastic.co/u/publichealthapp)\
**Post date:** [December 26, 2014, 7:14am UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388/4 "2014-12-26T07:14:04Z")

</div>

In elasticsearch, where the data is stored? I saw the localhost url with  
port 9200. What is it mean?

On Thursday, December 25, 2014 1:24:13 PM UTC+5:30, Jason Zhang wrote:

> Here's the official Elasticsearch PHP client
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/index.html)
> 
> Also, you can use RESTful api.
> 
> On Wed 24.24.14 22:55, [publich...@gmail.com](mailto:publich...@gmail.com) \<javascript:\> wrote:
> 
> > Hi all, in my php web application storing the user details and address.  
> > Now  
> > i would like to implement search functionality using Elasticsearch and  
> > don't know how to embed Elasticsearch in php application. I'm newbie in  
> > Elasticsearch and how can integrate Elasticsearch in php application?
> > 
> > Thanks
> > 
> > --  
> > You received this message because you are subscribed to the Google  
> > Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send  
> > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com).
> 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6f2f38cb-0960-4ed8-a0fc-250c9301aae1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6f2f38cb-0960-4ed8-a0fc-250c9301aae1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 26, 2014, 7:21am UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388/5 "2014-12-26T07:21:54Z")

</div>

On local disk on which elasticsearch is running.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 26 déc. 2014 à 08:14, [publichealthapp@gmail.com](mailto:publichealthapp@gmail.com) a écrit :
> 
> In elasticsearch, where the data is stored? I saw the localhost url with port 9200. What is it mean?
> 
> > On Thursday, December 25, 2014 1:24:13 PM UTC+5:30, Jason Zhang wrote:  
> > Here's the official Elasticsearch PHP client  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/index.html)
> > 
> > Also, you can use RESTful api.
> > 
> > On Wed 24.24.14 22:55, [publich...@gmail.com](mailto:publich...@gmail.com) wrote:
> > 
> > > Hi all, in my php web application storing the user details and address. Now  
> > > i would like to implement search functionality using Elasticsearch and  
> > > don't know how to embed Elasticsearch in php application. I'm newbie in  
> > > Elasticsearch and how can integrate Elasticsearch in php application?
> > > 
> > > Thanks
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a22b178b-8019-4d35-a429-547e0cfb64a3%40googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6f2f38cb-0960-4ed8-a0fc-250c9301aae1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6f2f38cb-0960-4ed8-a0fc-250c9301aae1%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/DDE1302B-16DD-4541-8236-1A1CD5F99653%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/DDE1302B-16DD-4541-8236-1A1CD5F99653%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:41am UTC](https://discuss.elastic.co/t/add-elastic-search-in-my-php-application/21388/6 "2017-07-06T00:41:56Z")

</div>


