sukohi/ghost

A Laravel package to generate a dummy model instance.
14
Install
composer require sukohi/ghost
Latest Version:2.0.0
Laravel:5
License:MIT
Last Updated:Jul 14, 2016
Links: GitHub  ·  Packagist
Maintainer: Sukohi

Ghost

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660

Version History

Version Released Laravel License
2.0.0 ~5.0 MIT