{"id":25171162,"url":"https://github.com/basemax/organization-phone-118","last_synced_at":"2026-05-03T12:38:33.519Z","repository":{"id":270910194,"uuid":"908578654","full_name":"BaseMax/organization-phone-118","owner":"BaseMax","description":"This project allows users to search for contact information in an organization using Meilisearch. The PHP application connects to a Meilisearch database and provides an API endpoint for querying contact data. The web interface enables users to perform searches and view results in a user-friendly table.","archived":false,"fork":false,"pushed_at":"2024-12-26T16:11:11.000Z","size":543,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T11:57:31.291Z","etag":null,"topics":["118","call-center","call-center-analytics","call-centre","call-centre-analysis","callcenter","callcentre","docker","docker-compose","meilisearch","meilisearch-php","php","php-meilisearch","search-engine","search-engine-optimization","search-engines"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-12-26T12:18:06.000Z","updated_at":"2025-01-03T09:14:56.000Z","dependencies_parsed_at":"2025-01-04T00:43:29.792Z","dependency_job_id":"278989ff-bafd-4ab2-95a0-148c5676c4e9","html_url":"https://github.com/BaseMax/organization-phone-118","commit_stats":null,"previous_names":["basemax/organization-phone-118"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/organization-phone-118","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Forganization-phone-118","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Forganization-phone-118/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Forganization-phone-118/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Forganization-phone-118/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/organization-phone-118/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Forganization-phone-118/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["118","call-center","call-center-analytics","call-centre","call-centre-analysis","callcenter","callcentre","docker","docker-compose","meilisearch","meilisearch-php","php","php-meilisearch","search-engine","search-engine-optimization","search-engines"],"created_at":"2025-02-09T09:19:28.715Z","updated_at":"2026-05-03T12:38:33.498Z","avatar_url":"https://github.com/BaseMax.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Organization Phone 118\r\n\r\nThis project allows users to search for contact information in an organization using Meilisearch. The PHP application connects to a Meilisearch database and provides an API endpoint for querying contact data. The web interface enables users to perform searches and view results in a user-friendly table.\r\n\r\n## Features\r\n\r\n- Search functionality for contact data including name, last name, phone, address, and position.\r\n- User-friendly web interface with RTL (Right-to-Left) support for Persian.\r\n- Dockerized setup for easy deployment.\r\n\r\n## Screenshots\r\n\r\n| ![Organization Phone 118 - Screenshot 1](screenshot/1.jpg) | ![Organization Phone 118 - Screenshot 2](screenshot/2.jpg) | ![Organization Phone 118 - Screenshot 3](screenshot/3.jpg) |\r\n|----------------------------------|----------------------------------|----------------------------------|\r\n\r\n## Prerequisites\r\n\r\n- Docker and Docker Compose installed on your system.\r\n\r\n## Setup Instructions\r\n\r\n### 1. Clone the Repository\r\n\r\n```bash\r\ngit clone https://github.com/BaseMax/organization-phone-118\r\ncd organization-phone-118\r\n```\r\n\r\n### 2. Add Environment Variables\r\n\r\nUpdate the following values in `.env`:\r\n\r\n- `MEILISEARCH_URL`: URL of the Meilisearch instance.\r\n- `API_KEY`: Your Meilisearch API key.\r\n- `INDEX_NAME`: Name of the index to query.\r\n\r\nAnd run `composer install` and `composer dump-autoload`.\r\n\r\n### 3. Start the Services\r\n\r\nRun the following command to start the services:\r\n\r\n```bash\r\ndocker-compose up --build\r\n```\r\n\r\nThis will start:\r\n\r\n- Meilisearch on port 7700.\r\n- Front-end application on port 8080.\r\n- Back-end application on port 8000.\r\n\r\n### 4. Access the Application\r\n\r\n- Open the browser at `http://localhost:8000` for the PHP application.\r\n- Open the browser at `http://localhost:8080` for the Front-End application.\r\n- Meilisearch is available at `http://localhost:7700`.\r\n\r\n## API Endpoint\r\n\r\n### Search Endpoint\r\n\r\n**URL:** `/search`\r\n\r\n**Method:** `GET`\r\n\r\n**Query Parameters:**\r\n- `q`: The search query string.\r\n\r\n**Example Request:**\r\n\r\n```bash\r\ncurl -X GET \"http://localhost:8000/search?q=John\"\r\n```\r\n\r\n**Example Response:**\r\n```json\r\n[\r\n  {\r\n    \"name\": \"John\",\r\n    \"lastName\": \"Doe\",\r\n    \"phone\": \"123456789\",\r\n    \"address\": \"123 Street Name\",\r\n    \"position\": \"Manager\"\r\n  }\r\n]\r\n```\r\n\r\n## Web Interface\r\n\r\nThe web interface is built with Bootstrap for styling and provides an intuitive search functionality. Users can enter a query in the search box and view results in a table format.\r\n\r\n### Example Usage\r\n\r\n1. Enter a search term in the input box.\r\n2. Click the \"جستجو\" button.\r\n3. View the results in the table below.\r\n\r\n## File Structure\r\n\r\n```\r\n.\r\n├── data/                # PHP extract and import scripts\r\n├── frontend/            # PHP extract and import scripts\r\n├── meili_data/          # Meilisearch data persistence\r\n├── docker-compose.yml   # Docker Compose configuration\r\n├── Dockerfile           # PHP Dockerfile\r\n├── README.md            # Project documentation\r\n├── api.php              # API application file\r\n└── load.php             # Loading .env data\r\n```\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the LICENSE file for details.\r\n\r\n**Copyright 2024, Max Base**\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Forganization-phone-118","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Forganization-phone-118","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Forganization-phone-118/lists"}