wislem/berrier 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

wislem/berrier

Composer 安装命令:

composer require wislem/berrier

包简介

A fruitful crud generator

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install

Via Composer

$ composer require wislem/berrier

Main Setup steps

Step 1

Add

Wislem\Berrier\BerrierServiceProvider::class

to your config/app.php file

Step 2

Publish various files needed php artisan vendor:publish

Step 4

Run composer dump-autoload

Step 5

Change your database/DatabaseSeeder.php to this:

<?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $this->call(UsersTableSeeder::class);
        $this->call(CategoriesTableSeeder::class);
        $this->call(PagesTableSeeder::class);
        $this->call(SettingsTableSeeder::class);
    }
}

Delete default migrations of Laravel 5 inside database/migrations

Run php artisan migrate

Run php artisan db:seed

Step 6

In your User model, delete this line

use Illuminate\Foundation\Auth\User as Authenticatable;

and change

class User extends Authenticatable

to

class User extends \Wislem\Berrier\Models\User

Step 7

Edit the locales inside config/translatable.php to look like this

    'locales' => [
        'en',
        'el',
        'de',
    ],

since Berrier has these locales upon setup. Also change the config('app.url') to your proper url so that you can move to your website through Berrier's list pages.

Make sure to check the published config/berrier.php file for more options.

Step 8

Create a folder in the storage/app/public folder named uploads Then run: ln -s storage/app/public/uploads public/

Berrier uploads everything to the storage/app/public/uploads folder. Those uploads need to reside inside your /public folder so a link is necessary between the two.

Step 9

Log in http://your.path/admin using Email: admin@example.com Password: admin

Enjoy!

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email peter.lazaridis@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固