Download the PHP package marshmallow/addressable without Composer
On this page you can find all versions of the php package marshmallow/addressable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marshmallow/addressable
More information about marshmallow/addressable
Files in marshmallow/addressable
Package addressable
Short Description Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
License MIT
Homepage https://github.com/Marshmallow-Development/
Informations about the package addressable
Marshmallow Addressable
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Installatie
Nova
Are you using Nova? We have a command for you to generate the Nova Resource. Run the commands below and the resources will be available to you in Nova. We hide the Address resource by default in the Nova navigation. If you wish to have it available in the navigation, add public static $displayInNavigation = true;
to app/Nova/Address.php
.
php artisan marshmallow:resource Address Addressable
php artisan marshmallow:resource AddressType Addressable
Run the seeder if you wish to have some defaults in the address type table. This will create a type of Shipping address
and a type of Postal address
. These types will be added to your database in your setup locale. Currently we only support English and Dutch for seeding these records.
To make the address visable on your Nova resource, you need to add MorphMany::make('Addresses'),
to your fields()
method.
Tests during development
php artisan test packages/marshmallow/addressable
...
Copyright (c) 2020 marshmallow
All versions of addressable with dependencies
marshmallow/sluggable Version ^1.0
marshmallow/dataset-country Version ^1.2
marshmallow/commands Version ^1.0