PHP-TEST/test-bootstrap.php
2025-06-12 10:25:56 +08:00

7 lines
253 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// 当前项目的自动加载Workerman 和你自己写的类)
$loader = require __DIR__ . '/vendor/autoload.php';
// 可选:合并命名空间
// 如果你在 composer.json 中有 autoload 配置,上面这句就能加载你的 App\ 类