shawnsandy / jarvis
A simple and smart theme management package for Laravel
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: ~5.6|~7.0
- erusev/parsedown: ^1.6
- illuminate/contracts: ~5.4|~5.5
- illuminate/http: ~5.4|~5.5
- illuminate/support: ~5.4|~5.5
- michelf/php-markdown: ^1.7
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0||~6.0
- squizlabs/php_codesniffer: ^3.1
This package is not auto-updated.
Last update: 2024-11-24 06:34:57 UTC
README
Jarvis is a simple and smart way to create and manage Laravel views (themes).
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 theLets get started
button. - Enter the validation_key in the and hit
Publish Vendor files
. You should be set to go.
- 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.