Download the PHP package yeh110/think-annotation without Composer
On this page you can find all versions of the php package yeh110/think-annotation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yeh110/think-annotation
More information about yeh110/think-annotation
Files in yeh110/think-annotation
Download yeh110/think-annotation
More information about yeh110/think-annotation
Files in yeh110/think-annotation
Vendor yeh110
Package think-annotation
Short Description Annotation For ThinkPHP6,ThinkPHP8
License Apache-2.0
Package think-annotation
Short Description Annotation For ThinkPHP6,ThinkPHP8
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package think-annotation
think-annotation for ThinkPHP6,ThinkPHP8
PHP8版本
安装
composer require yeh110/think-annotation
配置
配置文件位于
config/annotation.php
使用方法
路由注解
默认会扫描controller目录下的所有类
可对个别目录单独配置
模型注解
权限注解
权限注解读取
<?php
use yeh110\annotation\InteractsWithAuths;
$dir = app_path('controller');
$data = InteractsWithAuths::run($dir);
print_r($data);
All versions of think-annotation with dependencies
PHP Build Version
Package Version
The package yeh110/think-annotation contains the following files
Loading the files please wait ....