https://github.com/mybb/hook-finder
A tool to easily locate all hooks within a MyBB package - either the core of MyBB or a custom plugin.
https://github.com/mybb/hook-finder
Last synced: 5 months ago
JSON representation
A tool to easily locate all hooks within a MyBB package - either the core of MyBB or a custom plugin.
- Host: GitHub
- URL: https://github.com/mybb/hook-finder
- Owner: mybb
- License: bsd-3-clause
- Archived: true
- Created: 2015-08-22T10:17:36.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T21:12:14.000Z (about 8 years ago)
- Last Synced: 2025-10-18T23:44:41.215Z (8 months ago)
- Language: Go
- Size: 1.31 MB
- Stars: 3
- Watchers: 23
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hook Finder
A tool to easily locate all hooks within a MyBB package - either the core of MyBB or a custom plugin.
This tool will traverse all PHP files within a given directory, looking for plugin hooks. All plugin hooks will then be written to a HTML file of your choosing.
## Installation
You can download pre-built binaries for Windows, OS X and Linux from the Downloads page, or install the project using [go](http://golang.org):
`go get github.com/mybb/hook-finder`
## Usage
The hook finder requires two parameters:
- The path to the project to scan for hooks
- The output file name
You run the tool as follows:
```
hook-finder -i /pat/to/mybb/root -o /path/to/hooks.html
```
The tool will then scan all of the PHP files in the specified directory and locate all available hooks which will then be written to the specified file.