sukohi/ghost

A Laravel package to generate a dummy model instance.

2.0.0 2016-07-14 09:29 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:19:40 UTC


README

A Laravel package to generate a dummy model instance.

Installation

Execute composer command.

composer require sukohi/ghost:2.*

Register the service provider in app.php

'providers' => [
    ...Others...,
    Sukohi\Ghost\GhostServiceProvider::class,
]

Also alias

'aliases' => [
    ...Others...,
    'Ghost'   => Sukohi\Ghost\Facades\Ghost::class,
]

Usage

$dummy_model = \Ghost::make();
echo $dummy_model->title;       // (Empty)
echo $dummy_model->description; // (Empty)
echo $dummy_model->created_at;  // (Empty)

License

This package is licensed under the MIT License.

Copyright 2016 Sukohi Kuhoh