承接 fakerino/laravel-fakerino 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fakerino/laravel-fakerino

Composer 安装命令:

composer require fakerino/laravel-fakerino

包简介

Fake data generator Laravel package

README 文档

README

#Fakerino Laravel Package

Latest Stable Version Travis Ci License

The Fakerino Laravel provides integration of Fakerino into the Laravel framework.

More information in the official documentation.

Installation

Add the following dependencies to your projects composer.json file:

    "require": {
        "fakerino/laravel-fakerino": "0.0.*",
    }

Install the ODS data sample in two ways:

  • Add a script to your composer.json:
  "scripts": {
        "post-install-cmd": "vendor/fakerino/fakerino/build/ods vendor/fakerino/fakerino/data",
        "post-update-cmd": "vendor/fakerino/fakerino/build/ods vendor/fakerino/fakerino/data"
    }

In this way the data will be always updated automatically via composer.

  • Run maually the command (after the fakerino composer installation):
    $ vendor/fakerino/fakerino/build/ods vendor/fakerino/fakerino/data

Initializing the package

To initialize the bundle, you'll need to add it in your config/app.php.

	'providers' => [
        'Fakerino\Package\FakerinoProvider',

Usage in controller

<?php namespace App\Http\Controllers;

use Fakerino\Fakerino;

class FakeController extends Controller
{
	public function index()
	{
        return $this->fakerino->fake('surname');
	}
}

统计信息

  • 总下载量: 10.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固