shawnsandy/jarvis 问题修复 & 功能扩展

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

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

shawnsandy/jarvis

Composer 安装命令:

composer require shawnsandy/jarvis

包简介

A simple and smart theme management package for Laravel

README 文档

README

Jarvis is a simple and smart way to create and manage Laravel views (themes).

Alt text

Install

Via Composer

  • To install the Alpha version, add the following VCS repository add the following to your composer.json
"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/shawnsandy/jarvis"
        }
    ],

  • From command line run the following
composer require shawnsandy/jarvis dev-master

Laravel 5.5x Bluma presets

  • Install

Install this preset via composer require laravel-frontend-presets/bulma. Laravel 5.5.x will automatically discover this package for you

Usage

Quick Start

  • Add the VALIDATION_KEY to you Laravel .env file min 8 characters, numbers letters, underscore, dashes
VALIDATION_KEY=1234567890_valdiation-key

  • Open routes\wep.php and add the following routes
Route::group(['prefix' => config("jarvis.base_url")], function () {
    // theme setup and install routes
    Jarvis::install_routes();
    // Demo pages
    Jarvis::routes();
});

Optional routes

Route::get('/', function () {
    return view(jarvis_views("index"), ["theme_class" => "front-page"]);
});

Route::get('/signin', function(){
    return view(jarvis_views("login"));
});

Route::get('/signup', function(){
    return view(jarvis_views('register'));
});

Route::get('/reset-password', function(){
    return view(jarvis_views('reset'));
});
  • To install and publish theme files go to yourapp.com/jarvis/themes/index, click on the Lets get started button.
  • Enter the validation_key in the and hit Publish Vendor files. You should be set to go.

Alt text

Alt text

  • To visit a demo page go to yourapp.com/jarvis/view/index

Change log

Please see CHANGELOG for more information on 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 shawnsandy04@gmail.com instead of using the issue tracker.

Credits

  • [Shawn Sandy][link-author]
  • [All Contributors][link-contributors]

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固