Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 938 Bytes

2-Configuration.md

File metadata and controls

43 lines (31 loc) · 938 Bytes

2. Configuration

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

You can customize the package by editing the config/notes.php config file:

<?php

return [

    /* -----------------------------------------------------------------
     |  Database
     | -----------------------------------------------------------------
     */

    'database' => [
        'connection' => env('DB_CONNECTION', 'mysql'),

        'prefix'     => null,
    ],

    /* -----------------------------------------------------------------
     |  Models
     | -----------------------------------------------------------------
     */

    'authors' => [
        'table' => 'users',
        'model' => App\User::class,
    ],

    'notes' => [
        'table' => 'notes',
        'model' => Arcanedev\LaravelNotes\Models\Note::class
    ],

];