{"id":2130487,"url":"https://github.com/markomilivojevic/autocomplete","last_synced_at":"2026-03-15T12:30:39.794Z","repository":{"id":56973054,"uuid":"224732444","full_name":"markomilivojevic/autocomplete","owner":"markomilivojevic","description":"Laravel redis autocomplete","archived":false,"fork":false,"pushed_at":"2020-07-31T13:35:02.000Z","size":7,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T07:42:21.195Z","etag":null,"topics":["autocomplete","laravel","php","redis","search"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markomilivojevic.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-28T21:26:00.000Z","updated_at":"2025-04-26T06:15:26.000Z","dependencies_parsed_at":"2022-08-21T12:50:10.539Z","dependency_job_id":null,"html_url":"https://github.com/markomilivojevic/autocomplete","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/markomilivojevic/autocomplete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markomilivojevic%2Fautocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markomilivojevic%2Fautocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markomilivojevic%2Fautocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markomilivojevic%2Fautocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markomilivojevic","download_url":"https://codeload.github.com/markomilivojevic/autocomplete/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markomilivojevic%2Fautocomplete/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265131449,"owners_count":23716015,"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":["autocomplete","laravel","php","redis","search"],"created_at":"2024-01-21T23:22:33.867Z","updated_at":"2025-12-24T16:51:06.707Z","avatar_url":"https://github.com/markomilivojevic.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Laravel redis autocomplete\n\n## Installation\n```bash\n$ composer require ducha/autocomplete\n```\n## Usage\nImport facade:\n```php\n//...\nuse Ducha\\Autocomplete\\Facades\\Autocomplete;\n//...\n```\n#### Main methods\nStore item to bucket:\n```php\nAutocomplete::addTerm('cities', 'Berlin');\n```\nGet suggestions from bucket:\n```php\nAutocomplete::complete('cities', 'Ber');\n```\n\n#### All methods\n```php\n/** \n * Add an item to bucket\n * @method static bool addTerm(string $bucket, string $term)\n *\n * Add more items to bucket\n * @method static int addTerms(string $bucket, array $terms)\n * \n * Remove item from bucket\n * @method static bool removeTerm(string $bucket, string $term)\n *\n * Autocomplete term\n * @method static array complete(string $bucket, string $prefix)\n *\n * Get all items from bucket\n * @method static array all(string $bucket)\n */\n ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkomilivojevic%2Fautocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkomilivojevic%2Fautocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkomilivojevic%2Fautocomplete/lists"}