Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Ajax Autocomplete Bundle

Ajax Autocomplete Bundle Laravel Package

mawi12345/ajax-autocomplete-bundle

mawi12345/ajax-autocomplete-bundle adds AJAX-powered autocomplete form fields to Symfony apps, letting users type to search and select options from a remote data source. It simplifies dynamic suggestion dropdowns without custom JavaScript.

View on GitHub
Deep Wiki
Context7

Symfony AjaxAutocompleteBundle

Frequently asked questions about Ajax Autocomplete Bundle
Is mawi12345/ajax-autocomplete-bundle compatible with Laravel?
No. It is a Symfony bundle built around Symfony's Bundle class, DependencyInjection extension, and Form component, with no Laravel service provider, facade, or package discovery support. Installing it in a Laravel app would require pulling Symfony components alongside Laravel, which is not a sensible dependency trade. Treat it as a reference implementation at most.
Can I install this package with Composer in a Laravel project?
Composer may technically resolve it, but it will not register routes, form types, or assets in Laravel's container. There is no Laravel service provider or auto-discovery entry, so nothing wires up automatically. You would end up manually bootstrapping Symfony's Form and DependencyInjection components, which defeats the purpose. It is not a practical install for Laravel.
What is the Laravel equivalent of this Symfony autocomplete bundle?
A native Laravel implementation is the equivalent: an invokable controller or action per entity, an Eloquent query with explicit select, where scoping, and a hard limit, plus a Form Request for validation and a policy or gate for authorization. On the frontend use Alpine.js with a lightweight combobox, Livewire's wire:model.live.debounce, or Select2 if already present. The whole surface is roughly one to two engineer-days of work.
Does mawi12345/ajax-autocomplete-bundle work with Eloquent?
No. The bundle is designed around Doctrine ORM entities and Symfony's Form component for entity-backed result sets. Eloquent models, query builder scopes, and Laravel's validation layer are not supported. You would have to rewrite the query and form integration entirely, at which point you are no longer using the package.
Which Symfony and PHP versions does this bundle support?
The declared constraints are not confirmed in the available documentation, and the low star count suggests the bundle dates to the Symfony 2 or 3 era. Symfony 6 and 7 compatibility is unverified and unlikely without a fork. Check composer.json and the last commit date before considering it even for a Symfony project.
Is this package actively maintained?
There is no visible CI, test suite, changelog, release cadence, or security disclosure process referenced. With around two stars and zero dependents, it reads as an unpublished hobby artifact rather than a maintained library. For a production Laravel application you should not rely on it.
Is it safe to expose an autocomplete endpoint built with this bundle?
Autocomplete routes are among the more abuse-prone endpoints because they accept free-text input and return record data. A package that does not document authorization scoping or result limits is a data-exfiltration and denial-of-service risk until proven otherwise. Any implementation should include a policy check, a maximum query length, and a hard result cap.
How does the bundle build and parameterize its search query?
That detail is not documented in the available material. Given the Symfony and Doctrine era it targets, it most likely uses a Doctrine query builder with a LIKE condition on a configured field. Whether it parameterizes input properly, applies a LIMIT, or exposes an authorization hook is unverified. These are the exact questions to resolve before porting any of its logic.
Can I fork this bundle and port its logic into Laravel?
Possibly, but the license is not confirmed in the brief and must be verified before vendoring or porting. The logic itself is small: a controller endpoint, a query-scoping helper, and a frontend widget. In most cases it is faster and safer to write that natively than to audit and adapt a Symfony bundle.
What should I use instead for AJAX autocomplete in Laravel?
Build it natively or use a maintained Laravel-friendly option such as Livewire's searchable select patterns, Alpine.js comboboxes, or an existing Select2 setup already in your stack. Laravel Scout with a search driver is a good fit when the data source is large. Avoid adopting a Symfony-only bundle for a Laravel codebase; the integration cost outweighs any reuse.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect