https://github.com/vanilophp/address
[DEPRECATED] Address Module For Vanilo (Laravel)
https://github.com/vanilophp/address
vanilo
Last synced: about 1 year ago
JSON representation
[DEPRECATED] Address Module For Vanilo (Laravel)
- Host: GitHub
- URL: https://github.com/vanilophp/address
- Owner: vanilophp
- License: mit
- Created: 2017-11-29T14:15:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-11T23:34:04.000Z (over 7 years ago)
- Last Synced: 2025-02-10T22:52:17.764Z (over 1 year ago)
- Topics: vanilo
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Address Module

> This module is deprecated and is discontinued as of Vanilo v0.4.
---
This was the address module for [Vanilo](https://vanilo.io) until version v0.3.
[](https://travis-ci.org/vanilophp/address)
[](https://packagist.org/packages/vanilo/address)
[](https://packagist.org/packages/vanilo/address)
[](https://styleci.io/repos/112483913)
[](LICENSE.md)
> **This module shouldn't be used standalone.**
>
> It merely binds [Konekt Address](https://github.com/artkonekt/address) with
> the Vanilo (Address) Contract
## Extending
You need to re-register the root `Konekt\Address\Contracts\Address` contract:
```php
// app/AppServiceProvider.php:
public function boot()
{
$this->app->concord->registerModel(
\Konekt\Address\Contracts\Address::class,
\App\Address::class
);
}
```
```php
// app/Address.php
class Address extends \Vanilo\Address\Models\Address
{
// Tweak the hell out of it
}
```