2017 © Pedro PelĂĄez
 

library contacts

Admin Architect - Contacts

image

adminarchitect/contacts

Admin Architect - Contacts

  • Monday, April 25, 2016
  • by endihunter
  • Repository
  • 2 Watchers
  • 3 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Admin Architect - Contacts module

Note: The backend part of this package can be used only in conjunction with Admin Architect (terranet/administrator) package., (*1)

Installation

composer require adminarchitect/contacts

add service provider to config/app.php:, (*2)

'providers' => [
    ...
    Terranet\Contacts\ServiceProvider::class
    ...
]
php artisan vendor:publish --provider="Terranet\\Contacts\\ServiceProvider"

Usage

$contacts = new Contacts('Google Inc.');
$contacts
    ->setDescription('

We’ve come a long way from the dorm room and the garage. , (*3)

' . '

We moved into our headquarters in Mountain View, California—better known as the Googleplex—in 2004. , (*4)

' . '

Today Google has more than 70 offices in more than 40 countries around the globe., (*5)

') ->setEmails(['info@google.com']) ->setPhones(['+1 734-332-6500', '+1 248-593-4000']); $contacts->setAddress('1600 Amphitheatre Parkway Mountain View, CA 94043'); $contacts->department('Google Ann Arbor', function ($department) { $department->setDescription('Software development') ->setAddress('201 S. Division St. Suite 500 Ann Arbor, MI 48104') ->setPhones(['+1 734-332-6500']) ->setEmails(['support@google.com']); }); $contacts->department('Google Detroit', function ($department) { $department->setDescription('Software development') ->setAddress('114 Willits Street Birmingham, MI 48009') ->setPhones(['+1 248-593-4000']) ->setEmails(['support@google.com']); }); return $contacts->render();

Templates

Choose the template from one of predefined or create new one: config/contacts.php section template, (*6)

Contact page - Default template, (*7)

two columns

Contact page - Tow Columns template, (*8)

Or in rows

Contact page - Tow Rows template, (*9)

The Versions

25/04 2016

dev-master

9999999-dev

Admin Architect - Contacts

  Sources   Download

by endi

laravel contacts contact page admin architect laravel contacts laravel contact page

24/02 2016

v1.0.1

1.0.1.0

Admin Architect - Contacts

  Sources   Download

by endi

laravel contacts contact page admin architect laravel contacts laravel contact page