2017 © Pedro Peláez
 

library laravel-clients

Clients package for Laravel 5 that includes contacts and configuration items.

image

dcastanera/laravel-clients

Clients package for Laravel 5 that includes contacts and configuration items.

  • Wednesday, February 28, 2018
  • by dcastanera
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel Clients

This package was built for Laravel 5 and provides Client objects with Contacts & Configuration Items. Users can also be assigned to Clients and has a many to many relationship where you can have more than one user assigned to a client and more than one client assigned to a user., (*1)

This package makes the following objects and variables available:, (*2)

Clients

  • name
  • address
  • address2
  • city
  • state
  • zip
  • phone
  • website

Contacts

  • first_name
  • last_name
  • address
  • address2
  • city
  • state
  • zip
  • phone
  • email

Configuration Items

  • name
  • url
  • username
  • password

Installation

This package requires the dcastanera/laravel-notes package. If you are not currently using the notes package, please follow this link to go install that first. Install Laravel Notes, (*3)

Composer

In order to install this package you need to use composer. Simply type the following into your command line interface:, (*4)

composer require dcastanera/laravel-clients

Service Provider

Next we need to register the package's service provider. In the "providers" section of your config/app.php file, add the following line to the list:, (*5)

DCastanera\Clients\ClientServiceProvider::class,

Publish Files

Now that everything is loaded, in order for things to work correctly, we need to copy or publish some files into your Laravel installation. Enter the following command to publish the files:, (*6)

php artisan vendor:publish

Database Migration

One of the things we did with the publish command we just used was copy a database migration file into your database/migrations folder. Enter the following command to run the migration and install the necessary tables in your database., (*7)

php artisan migrate

Usage

The Versions

28/02 2018

dev-master

9999999-dev

Clients package for Laravel 5 that includes contacts and configuration items.

  Sources   Download

The Requires

 

by Dan Castanera