Download the PHP package laravel-enso/ro-addresses without Composer
On this page you can find all versions of the php package laravel-enso/ro-addresses. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download laravel-enso/ro-addresses
More information about laravel-enso/ro-addresses
Files in laravel-enso/ro-addresses
Download laravel-enso/ro-addresses
More information about laravel-enso/ro-addresses
Files in laravel-enso/ro-addresses
Vendor laravel-enso
Package ro-addresses
Short Description Romanian Addreses extension for Addresses
License MIT
Package ro-addresses
Short Description Romanian Addreses extension for Addresses
License MIT
Please rate this library. Is it a good library?
Informations about the package ro-addresses
Romanian Addresses
Romanian Addresses extension for Addresses, the Laravel Enso package.
Features
- makes changes to the addresses columns to better fit the Romanian locale
- comes with two additional tables for Counties and Localities
- comes with its own customized form for the edit and creation of addresses
- comes with a personalized configuration
- comes with its own VueJS components
ro-addresses
in order to customize the form and the template for the address cards - comes with its own trait
- comes with an import that updates localities
Usage
- add the package's
AppServiceProvider
to theconfig/app.php
list of providers (package auto-discovery is not used as loading order is important) - run the migrations, as they change the addresses table, add two other tables, and insert all the localities
- the configuration should be published, and inside you need to define the addresable types
- for the models you want to make addressable, you should use the Addresses package's
Addresable
trait. - publish the VueJs component.
- insert the
RoAddreses
vue component where required. It takes the same parameters asAddresses
-id
andtype
being the essential ones.
where
modelId
is the addressable model idmodel_alias
is the respective model class
Import
If you need to use the import, publish the included template, importer and validator, and add the new import to your configuration:
Publishes
php artisan vendor:publish --tag=ro-addresses-seeds
- the seedersphp artisan vendor:publish --tag=ro-addresses-config
- configuration filephp artisan vendor:publish --tag=ro-addresses-form
- form used for creating/editing addressesphp artisan vendor:publish --tag=ro-addresses-import
- form used for updating localitiesphp artisan vendor:publish --tag=enso-config
- a common alias for when wanting to update the config, once a newer version is releasedphp artisan vendor:publish --tag=ro-addresses-assets
- the VueJS component,php artisan vendor:publish --tag=enso-assets
- a common alias for when wanting to update the VueJS component, once a newer version is releasedphp artisan vendor:publish --tag=enso-seeders
- a common alias for when wanting to update the seeders, once a newer version is released
Notes
The Laravel Enso Core package does NOT come with this package included, only with the generic Addresses.
This package depends on the Addresses and it does not work standalone.
Contributions
are welcome. Pull requests are great, but issues are good too.
License
This package is released under the MIT license.
All versions of ro-addresses with dependencies
PHP Build Version
Package Version
Requires
laravel-enso/addresses Version
3.4.*
laravel-enso/countries Version 1.1.*
laravel-enso/permissions Version 3.4.*
laravel-enso/countries Version 1.1.*
laravel-enso/permissions Version 3.4.*
The package laravel-enso/ro-addresses contains the following files
Loading the files please wait ....