PHP code example of avexsoft / donkey
1. Go to this page and download the library: Download avexsoft/donkey 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/ */
avexsoft / donkey example snippets
Donkey::set('app.debug', true); // config('app.debug') will return true until changed again
Donkey::set('project.advanced_mode', true); // persists project.advanced_mode into the project
config('project.advanced_mode'); // returns true
// You can even give users their own configuration space
Donkey::set(auth()->user()->id.'-user.advanced_mode', true);