Skip to content

Parses "Extend event" calls in code for documentation purposes

License

Notifications You must be signed in to change notification settings

sunlight-cms/extend-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extend event parser

Parses Extend::call(), Extend::buffer() and Extend::fetch() calls and produces a JSON output with the found invocations.

Requirements

  • PHP 7.1+
  • SunLight CMS codebase (version 8.x)
  • Composer

Installation

  1. download (or clone) this repository
  2. run composer install

Usage

Parsing calls in all PHP files in the given directory

bin/parse path/to/sunlight/cms/source

Note

Files under vendor, plugins, cache and tmp directories are ignored.

Parsing calls in a single file

bin/parse path/to/file.php

About

Parses "Extend event" calls in code for documentation purposes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages