Download the PHP package laravel-enso/contacts without Composer
On this page you can find all versions of the php package laravel-enso/contacts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download laravel-enso/contacts
More information about laravel-enso/contacts
Files in laravel-enso/contacts
Download laravel-enso/contacts
More information about laravel-enso/contacts
Files in laravel-enso/contacts
Vendor laravel-enso
Package contacts
Short Description Contacts dependency for Larave Enso
License MIT
Homepage https://github.com/laravel-enso/Contacts
Package contacts
Short Description Contacts dependency for Larave Enso
License MIT
Homepage https://github.com/laravel-enso/Contacts
Keywords contactslaravel-enso
Please rate this library. Is it a good library?
Informations about the package contacts
Contacts
Contacts dependency for Laravel Enso.
Features
- allows the management of contact persons, attached to other entities, such as owners
- uses a polymorphic relationship for flexibility when attaching
- contacts can be disabled while still keeping them, for reference
- comes with a
Contacts.vue
VueJS component meant to be included anywhere, and an index page to list all contacts - uses the VueComponents package in order to load its VueJS dependencies
Installation steps
The component is already included in the Enso install and should not require any additional installation steps.
Use
- Define the
'model_alias' => 'App\Model'
mapping in theconfig/enso/contacts.php
file - Add the
Contactable
trait in the Model to which you need to add contacts You can then use the$model->contacts
relationship - Use the VueJS component in your pages/components
Options
The Contacts.vue
component can be used anywhere, can be integrated into any other component or page, and takes the following parameters:
id
- the id of the entity | requiredtype
- string, the entity type, set in the configuration file | requiredopen
- boolean, flag which, if true, makes the component start in the open state | defaultfalse
| (optional)title
- string, title for the component | default 'Contacts' | (optional)
Publishes
php artisan vendor:publish --tag=contacts-config
- the configuration filephp artisan vendor:publish --tag=contacts-assets
- the VueJS componentsphp artisan vendor:publish --tag=enso-assets
- a common alias for when wanting to update the VueJS component, once a newer version is released, can be used with the--force
flagphp artisan vendor:publish --tag=enso-config
- a common alias for when wanting to update the config, once a newer version is released, can be used with the--force
flag
Notes
The Laravel Enso package comes with this package included.
Depends on:
- Datatable for showing the list of contacts
- Structure manager for the migrations
- TrackWho for keeping track of the users making the changes to each contact
- VueComponents for the accompanying VueJS components
- Helpers for the IsActive trait
Contributions
are welcome. Pull requests are great, but issues are good too.
License
This package is released under the MIT license.
All versions of contacts with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
laravel-enso/activitylog Version 1.1.*
laravel-enso/core Version 3.2.*
laravel-enso/helpers Version 1.9.*
laravel-enso/formbuilder Version 2.10.*
laravel-enso/structuremanager Version 2.4.*
laravel-enso/vuecomponents Version 2.5.*
laravel-enso/vuedatatable Version 1.7.*
laravel-enso/activitylog Version 1.1.*
laravel-enso/core Version 3.2.*
laravel-enso/helpers Version 1.9.*
laravel-enso/formbuilder Version 2.10.*
laravel-enso/structuremanager Version 2.4.*
laravel-enso/vuecomponents Version 2.5.*
laravel-enso/vuedatatable Version 1.7.*
The package laravel-enso/contacts contains the following files
Loading the files please wait ....