eandraos/gaia-ui
最新稳定版本:1.1.26
Composer 安装命令:
composer require eandraos/gaia-ui
包简介
Publish the different css/js assets for the gaia CMS project as well as the master page layout
README 文档
README
Publish the different css/js assets for the gaia CMS project as well as the master page layout.
Installation
Run the following command in your terminal
composer require eandraos/gaia-ui
Then register this service provider with Laravel in config/app.php
Gaia\Ui\GaiaUiServiceProvider
Publish the assets and the master page view
php artisan vendor:publish
Migrate the database (users table)
php artisan migrate
Seed the users table
php artisan db:seed --class=UsersTableSeeder
login with gaia@mcsaatchi.me 123456
Usage
Extend your views as you need
@extends('admin.layout')
Third patry packages
This package will also install other packages that will be used for some others gaia-packages.
- illuminate/html: Work easily with blade form templates
- fzaninotto/Faker: Generates dummy data (database seeding)
- laracasts/flash: Helper functions to set and get flash messages between controller methods
- zizaco/entrust Role-based permissions for Laravel 5
- spatie/laravel-medialibrary: Associate all sorts of files with Eloquent models
- vinkla/translator: Laravel translator for Eloquent models
- kalnoy/nestedset: Package for working with trees in a Eloquent models
####illuminate/html register the service provider in config/app.php
Illuminate\Html\HtmlServiceProvider
reference the Form and Html facade in the aliases section in config/app.php
'Form' => 'Illuminate\Html\FormFacade',
'Html' => 'Illuminate\Html\HtmlFacade'
####fzaninotto/Faker
use Faker\Factory as Faker;
$faker = Faker::create();
dd($faker->name);
####laracasts/flash register the service provider in config/app.php
Laracasts\Flash\FlashServiceProvider
add the facade alias
'Flash' => 'Laracasts\Flash\Flash'
####zizaco/entrust register the service provider in config/app.php
'Zizaco\Entrust\EntrustServiceProvider'
add the facade alias
'Entrust' => 'Zizaco\Entrust\EntrustFacade'
generate the migrations
php artisan entrust:migration
migrate
php artisan migrate
edit the user model class
use Zizaco\Entrust\Traits\EntrustUserTrait;
class User extends Eloquent
{
use EntrustUserTrait; // add this trait to your user model
...
}
dump the auto-load
composer dump-autoload
last, add the follwing property to the AuthController
protected $redirectPath = '/admin/dashboard';
####spatie/laravel-medialibrary register the service provider in config/app.php
'Spatie\MediaLibrary\MediaLibraryServiceProvider'
add the facade alias
'MediaLibrary' => 'Spatie\MediaLibrary\MediaLibraryFacade',
migrate
php artisan migrate
create "media" folder in the public directory
####vinkla/translator register the service provider in config/app.php
'Vinkla\Translator\TranslatorServiceProvider'
publish the migration and configuration files
php artisan vendor:publish
Edit the configuration in config/translator.php
'locale' => 'App\Models\Locale'
migrate
php artisan migrate
composer dump-autoload -o
Seed the locales
php artisan db:seed --class=LocalesTableSeeder
eandraos/gaia-ui 适用场景与选型建议
eandraos/gaia-ui 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 108 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 03 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「ui」 「cms」 「laravel 5」 「gaia project」 「backend assets」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 eandraos/gaia-ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 eandraos/gaia-ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 eandraos/gaia-ui 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Integrate with Snipcart.
Follow, Favourite, Bookmark, Like & Subscribe.
Alfabank REST API integration
统计信息
- 总下载量: 108
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-20