{"id":16673140,"url":"https://github.com/ph-7/free-text-search","last_synced_at":"2025-04-09T20:05:42.782Z","repository":{"id":144638230,"uuid":"66715562","full_name":"pH-7/Free-Text-Search","owner":"pH-7","description":"This full-text search allows users to search real estate properties (present in Daft.ie) by just speaking or typing what their want. The engine will then parse and translate the words and return the correct data.","archived":false,"fork":false,"pushed_at":"2016-12-30T20:02:39.000Z","size":571,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T20:05:37.505Z","etag":null,"topics":["api","daft","daftie","free-text","free-text-search","free-text-searching","freetext","full-text","full-text-search","ireland","listings","php","properties","properties-api","property","property-listings","real-estate","soap","speech","text-search"],"latest_commit_sha":null,"homepage":"http://github.com/pH-7/Free-Text-Search","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pH-7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"phenry","github":"pH-7"}},"created_at":"2016-08-27T13:21:23.000Z","updated_at":"2024-05-12T04:21:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"754c4697-9830-4bfb-9d7c-6f786ea26ac7","html_url":"https://github.com/pH-7/Free-Text-Search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FFree-Text-Search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FFree-Text-Search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FFree-Text-Search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FFree-Text-Search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pH-7","download_url":"https://codeload.github.com/pH-7/Free-Text-Search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","daft","daftie","free-text","free-text-search","free-text-searching","freetext","full-text","full-text-search","ireland","listings","php","properties","properties-api","property","property-listings","real-estate","soap","speech","text-search"],"created_at":"2024-10-12T12:24:45.895Z","updated_at":"2025-04-09T20:05:42.773Z","avatar_url":"https://github.com/pH-7.png","language":"PHP","funding_links":["https://ko-fi.com/phenry","https://github.com/sponsors/pH-7"],"categories":[],"sub_categories":[],"readme":"# Simple Free Text Property Search\n\n\n## Description\n\nFree Text Search Engine for the Irish Estate Properties using the [Daft.ie API](http://api.daft.ie).\n\nThe Engine translates what the user are looking for and transforms the input string into a string requests and then will send that request to the Daft.ie API.\n\nThe script also offers the voice speech recognition thanks HTML5 \u0026 JavaScript speech-input.\n\n\nIn this script, I use:\n\n* PSR0 to PSR4 coding standards\n* Formatted/documented code\n* DRY (Don't Repeat Yourself) principle\n* OOP code (including PHP Interfaces \u0026 Traits (PHP 5.4 specification)\n* *spl_autoload_register* (which is very useful with PHP namespaces)\n* View/Controller pattern\n* Singleton pattern (even if not necessary...)\n* PHP alternative syntax for the template (which makes the visibility easier)\n* Class member access on instantiation (PHP \u003e= 5.4)\n* Short Array syntax (PHP \u003e= 5.4)\n* Using SOAPClient\n\n\n## Search Query Examples\n\n* 2 or 3 bed to rent between 1000 and 2000\n* 3 bedrooms to buy in Dublin\n* 2 or 3 beds apartment to rent in Cork around 400 and 600 euro\n* 4 bedroom house to let in Galway for 1000 around 900 and 14000 per month\n\n\n## Specification\n\n* Search Type (Rental/Sale)\n* Price (Min-Max)\n* Bedroom (Min-Max)\n* Property Types (house, apartment, site)\n* House Types (terraced, semi-detached, detached, end-of-terrace, townhouse)\n* Retrieve Areas from the API\n* Retrieve Counties from the API\n* Each search term has its own Class and is getting back by the \"Parser\" class and included by *spl_autoload_register()* SPL function\n* HTML5 **speech-input** search\n* Displayed the property results thanks to Daft's API\n\n\n## Other Coding Convention\n\nIn addition of using the **PSR** and **PHP Pear**, I use my own for the naming of the variables\n\nHere are the variable prefixes:\n* a = Array\n* i = Integer\n* f = Float, Double\n* b = Boolean\n* s = String\n* o = Object\n* m = Mixed\n* r = Resource\n* c = 1 Character (I used only sometime that, as char is not a PHP valid type)\n\nFollowing the \"*letter type* lower case, the variable name is in UpperCamelCase (e.g., $a**MyVariable**)\n\n\n## Server Requirements of the Web App\n\n*Application Server* PHP 5.4.0 or higher.\n\n*PHP Extension* SOAPClient\n\n\n## Other Requirements\n\n* A Valid [Daft API Key](https://github.com/pH-7/Free-Text-Search/blob/master/Engine/Config.php#L20)\n\n\n## About Me\n\nI'm **Pierre-Henry Soria**, IT developer and passionate about e-businesses and marketing.\n\n\n## Where to contact me?\n\nYou can by email at **pierrehenrysoria [[AT]] gmail [[D0T]] com**\n\n\n## License\n\nThe script is under [Creative Commons Attribution 3.0](http://creativecommons.org/licenses/by/3.0/) license or later; See the LICENSE.txt file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Ffree-text-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph-7%2Ffree-text-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Ffree-text-search/lists"}