Architecture of osticket/osticket
osticket/osticket is 963 source files holding 10,486 symbols across 9 modules, written mainly in PHP, JavaScript, Shell. The largest module is include, with 803 files, and 8 files are entry points into the dependency graph.
How osticket fits together
Requests enter through the website, email or phone, and incoming tickets are saved and assigned to agents. Agents work in the staff interface, whose entry point is include/staff/index.php. The include directory is the largest module, holding 803 of the 963 indexed files, and holds much of the core application code. The api and kb directories each have their own entry point, api/index.php and kb/index.php. The setup directory contains the installer, and the command php manage.php deploy --setup copies the code to a web server folder, after which the README says the setup folder can be deleted.
Largest modules
- include: 803 files
- scp: 63 files and 5,461 lines of code
- setup: 54 files and 115 lines of code
- root: 24 files
- js: 8 files and 6,666 lines of code
- api: 5 files
- kb: 3 files
- apps: 1 file
Languages
By file count: PHP 717 files, JavaScript 26 files, Shell 1 file.
More on osticket: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos