repowisekovah/linkace

Architecture of kovah/linkace

kovah/linkace is 1,130 source files holding 2,084 symbols across 10 modules, written mainly in PHP, JavaScript. The largest module is lang, with 418 files, and 5 files are entry points into the dependency graph.

How linkace fits together

Web requests enter through public/index.php, which hands the work to the application created in bootstrap/app.php. The same bootstrap code is reused by the artisan command-line entry point, so web and console runs share one setup. Changes to links, users and settings are handled by classes in app/Actions, which validate inputs, check permissions and apply the change. Search behaviour is set in config/scout.php, and the search backend is covered by tests in tests/Search. Frontend scripts start from resources/assets/js/app.js, and translation files live in lang. The output is web pages, API responses and stored link data.

Largest modules

  • lang: 418 files and 15,456 lines of code
  • resources: 304 files and 6,761 lines of code
  • app: 208 files and 9,505 lines of code
  • tests: 108 files and 11,003 lines of code
  • config: 26 files and 2,721 lines of code
  • database: 24 files and 1,658 lines of code
  • root: 3 files and 162 lines of code
  • routes: 3 files and 317 lines of code

Languages

By file count: PHP 1,078 files, JavaScript 17 files.

Documentation

Repowise documents linkace in 493 pages generated from the source, 63 of them written explanations of the repository and its modules. Module guides include:

  • app/Http/Controllers/Admin: Admin API Controllers
  • app: App Overview
  • app/Actions: Application Actions

More on linkace: summary and FAQ, codebase overview, code health.