2017 © Pedro Peláez
 

library jarvis

A simple and smart theme management package for Laravel

image

shawnsandy/jarvis

A simple and smart theme management package for Laravel

  • Wednesday, January 24, 2018
  • by shawnsandy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Jarvis (alpha)

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

Alt text, (*2)

Install

Via Composer, (*3)

  • 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

``` bash composer require shawnsandy/jarvis dev-master, (*4)


### 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* ``` text VALIDATION_KEY=1234567890_valdiation-key
  • Open routes\wep.php and add the following routes

``` php Route::group(['prefix' => config("jarvis.base_url")], function () { // theme setup and install routes Jarvis::install_routes(); // Demo pages Jarvis::routes(); });, (*5)

Optional routes

``` php
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, (*6)

Alt text, (*7)

  • 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., (*8)

Testing

bash $ composer test, (*9)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*10)

Security

If you discover any security related issues, please email shawnsandy04@gmail.com instead of using the issue tracker., (*11)

Credits

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

License

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

The Versions

06/10 2017

dev-feature/inline-install-page

dev-feature/inline-install-page https://github.com/shawnsandy/jarvis

A simple and smart theme management package for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

shawnsandy jarvis