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

Location Bundle Laravel Package

chaplean/location-bundle

View on GitHub
Deep Wiki
Context7

Getting Started With ChapleanLocationBundle

Prerequisites

This version of the bundle requires Symfony 2.8+.

Installation

1. Composer

composer require chaplean/location-bundle

2. AppKernel.php

Add

new Chaplean\Bundle\LocationBundle\ChapleanLocationBundle(),

3. Inject locations

Run

bin/console location:load:cities

or Add command in migration

public function postUp(Schema $schema)
{
    /** @var Kernel $kernel */
    $kernel = $this->container->get('kernel');
    $application = new Application($kernel);
    $application->setAutoExit(false);
    

    $exitCode = $application->run(
        new ArrayInput(
            [
                'command'    => 'location:load:cities'
            ]
        )
    );
    
    $this->abortIf($exitCode !== 0, 'see Exception above ^');
}

4. Resources

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle