SUKOHI / Ghost by Sukohi

A Laravel package to generate a dummy model instance.
11
0
2
Package Data
Maintainer Username: Sukohi
Maintainer Contact: capilano.sukohi@gmail.com (Sukohi)
Package Create Date: 2016-07-14
Package Last Update: 2016-07-14
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-05-15 03:01:25
Package Statistics
Total Downloads: 11
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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