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]
whereyart/station-yart 适用场景与选型建议
whereyart/station-yart 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 12 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 05 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 whereyart/station-yart 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 whereyart/station-yart 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-09