Install
-
Install via Composer:
composer require gridprinciples/contactable -
Add the service provider to the providers array in
config/app.php:GridPrinciples\Contactable\Providers\ContactableServiceProvider::class, -
Publish the migrations and config file:
php artisan vendor:publish --provider="GridPrinciples\Contactable\Providers\ContactableServiceProvider" -
Run the migrations:
php artisan migrateThis will add
email_addressesandphone_numberstables to your database. -
Remove the
emailcolumn from yourcreate_users_tabletable migration, if applicable.