All packages

Local Package Development

Local package development

To test a local checkout inside another Laravel application, add a path repository to that application's composer.json:

"repositories": [
    {
        "type": "path",
        "url": "D:/laravel-nepal-address",
        "options": {
            "symlink": true
        }
    }
]

Then install the development branch from the Laravel application directory:

composer require khanaldpk/nepali-address:@dev --with-all-dependencies
php artisan optimize:clear

With symlink: true, edits to this package are reflected in the Laravel application immediately. Run composer dump-autoload in the Laravel application after adding new classes.