Contact

Laravel package that provides contact management facility for lavalite CMS.

Installation

Require this package with composer.

composer require litecms/contact

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Migration and seeds

php artisan migrate
php artisan db:seed --class=Litecms\\ContactTableSeeder

Publishing

Configuration

php artisan vendor:publish --provider="Litecms\Contact\ContactServiceProvider" --tag="config"

Language

php artisan vendor:publish --provider="Litecms\Contact\ContactServiceProvider" --tag="lang"

Files

php artisan vendor:publish --provider="Litecms\Contact\ContactServiceProvider" --tag="storage"

Views

Publish views to resources\views\vendor directory

php artisan vendor:publish --provider="Litecms\Contact\ContactServiceProvider" --tag="view"

Publishes admin view to admin theme

php artisan theme:publish --provider="Litecms\Contact\ContactServiceProvider" --view="admin" --theme="admin"

Publishes public view to public theme

php artisan theme:publish --provider="Litecms\Contact\ContactServiceProvider" --view="public" --theme="public"