PHP code example of karriere / legacy

1. Go to this page and download the library: Download karriere/legacy 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/ */

    

karriere / legacy example snippets


\Karriere\Legacy\Bootstrap::initialize();

dd('any value');
dd($_GET);

session();

session('key');
session('key', 'no data');

session(['key' => 'value']);

session()->flash($key, $value);

redirect('http://www.karriere.at')->send();
redirect('http://www.karriere.at', 301)->send();

redirect('http://www.karriere.at')->with('status', 'something happened')->send();