PHP code example of shawnsandy / jarvis

1. Go to this page and download the library: Download shawnsandy/jarvis library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shawnsandy / jarvis example snippets

 text
VALIDATION_KEY=1234567890_valdiation-key

 php
Route::group(['prefix' => config("jarvis.base_url")], function () {
    // theme setup and install routes
    Jarvis::install_routes();
    // Demo pages
    Jarvis::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'));
});