PHP code example of hocvt / orchid-addons

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

    

hocvt / orchid-addons example snippets




// PlatformProvider

            Menu::make(__('Logs'))
                ->icon('bug')
                ->route('platform.logs', ['sort' => '-last_modified'])->title(__('SYSTEM')),

            Menu::make(__('Php Info'))
                ->icon('bug')
                ->route('platform.phpinfo', ['sort' => '-last_modified']),