PHP code example of dtyq / super-magic-module

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

    

dtyq / super-magic-module example snippets




return [
    // 加载 ConfigProvider
    \Dtyq\SuperMagic\ConfigProvider::class,
];

[
    'dependencies_priority' => [
        // 助理执行事件
        AgentExecuteInterface::class => SuperAgentMessageSubscriberV2::class,
        SuperAgentMessageInterface::class => SuperAgentMessage::class,
    ]
]