Weave Code
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
Provinsibundle

Provinsibundle Laravel Package

ais/provinsibundle

View on GitHub
Deep Wiki
Context7

Provinsi Bundle For AIS

Frequently asked questions about Provinsibundle
Can I use ais/provinsibundle in Laravel? It’s a Symfony bundle.
No, ais/provinsibundle is designed exclusively for Symfony 2.7.x and won’t work in Laravel. For Laravel, consider extracting province data as a standalone JSON file or using a custom API wrapper for Indonesia’s official data sources like data.go.id.
What Laravel alternatives exist for Indonesian province data?
For Laravel, use a lightweight solution like seeding a JSON array of provinces into a database table or fetching data from Indonesia’s official API (e.g., data.go.id). Libraries like Spatie’s Laravel Data Importer can help automate seeding.
Is ais/provinsibundle still maintained or updated?
No, the package is abandoned with no recent activity, no tests, and dependencies on Symfony 2.7.x (EOL since 2017). Avoid it for production due to security and maintenance risks. Check GitHub for forks or consider rewriting the data layer.
Does ais/provinsibundle support modern Laravel or Symfony versions?
No, it’s hardcoded for Symfony 2.7.4. For Symfony 5/6, you’d need to fork and rewrite it as a standalone library or bundle. For Laravel, avoid it entirely and use a simpler data source like a JSON file or API.
What dependencies does ais/provinsibundle force, and are they necessary?
It bundles NelmioApiDoc, FOSRest, and JMS Serializer, which are unnecessary if you only need province data. These add bloat and potential conflicts. For Laravel, skip them entirely and use native tools like Laravel’s API resources.
How do I validate the accuracy of province data in ais/provinsibundle?
There’s no guarantee of data freshness or updates. Cross-check province names, codes, and hierarchies against official sources like Indonesia’s Badan Pusat Statistik (BPS) or OpenStreetMap. Manually verify before relying on it.
Can I migrate province data from ais/provinsibundle to Laravel?
Yes, but manually. Export the data (e.g., via API or database dump) and import it into Laravel using migrations or a seeder. Avoid the bundle’s dependencies—just extract the raw data you need.
Are there licensing risks with ais/provinsibundle’s MIT license?
The MIT license is permissive, but ensure the underlying province data itself complies with Indonesia’s legal requirements. Government data may have additional restrictions; verify sourcing before use.
What’s the best way to integrate province data in Laravel without external bundles?
Use a simple JSON file (e.g., `provinces.json`) and seed it into a Laravel database table. For dynamic updates, fetch data from Indonesia’s official API (e.g., data.go.id) via Laravel’s HTTP client or a queue job.
Why does ais/provinsibundle require Symfony 2.7.x, and can I bypass it?
The bundle is tightly coupled to Symfony 2.7.x’s architecture, including deprecated components. You cannot bypass this without rewriting it. For Laravel, ignore the bundle and use a lightweight data source instead.
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware