定制 whereyart/station-yart 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

whereyart/station-yart

Composer 安装命令:

composer require whereyart/station-yart

包简介

Easy CRUD and User Auth Mix For Laravel 4

README 文档

README

Incredibly Flexible CRUD, Content and User Management System For Laravel 4.1

Tired of creating and configuring similar models and controllers which deal with basic CRUD, validation and user role-based capabilities? Station allows developers to setup and configure a backend CMS for a Laravel app/site very quickly.

Features

  • UI using a vanilla bootstrap layout which you can style in your own app.
  • Allows for easy table association setup through config files.

Requirements

  • GD (compiled with PHP, if you want to take advantage of the image resizing features)

Installation

The Station Service Provider can be installed via Composer by requiring the canary/station package in your project's composer.json.

{
    "require": {
        "canary/station": "0.1.*"
    }
}

Then run a composer update

composer update

Configuration & Setup

This assumes you have a working dev or production environment with Laravel 4 already installed.

1. Register Station in app/config/app.php

To use station, you must register the provider when bootstrapping your Laravel application.

Find the providers key in your app/config/app.php and register the Station Service Provider.

    'providers' => array(
        // ...
        'Canary\Station\StationServiceProvider',
        'Way\Generators\GeneratorsServiceProvider',
    )

2. Use artisan to set up Station's default config files within your app

Then publish the package configuration files using Artisan. This will copy Station's default configuration to your app. You can then change and add to these configuration files as needed.

php artisan config:publish canary/station 

At this time you can (optionally) edit /app/config/packages/canary/station/_app.php and change the root_admin_email

3. Run Station's Build Command.

This will generate migrations, run migrations, generate models, and seed the database.

php artisan station.build 

4. Publish The Package's Assets To Your App

php artisan asset:publish canary/station 

5. Test Installation

You should now be able to browse to your app at:

http://{host}/station/ (ex. http://app.localhost/station/) and see station running without errors.

You can log in using user/password: admin/admin

6. Configure Station and Your Panels!

Start by editing /app/config/packages/canary/station/_app.php

Then create files for each panel in /app/config/packages/canary/station/ [we need documentation on this]

That's it. You now have a fully functioning back end and user management system for your site.

Notable Limitations

  • The validation rule 'unique' MUST accept 2 parameters: table name, and column name. No more and no less. [ex. unique:users,username]

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 15
  • Forks: 0
  • 开发语言: HTML

其他信息

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