Skip to main content

Package Structure

Core publishes files to client projects via Laravel’s package publishing system.

Directory Layout

  • stubs/laravel/ - Project template files (AGENT.md, README.md, bootstrap, CI/CD configs)
  • resources/js/core/ - React components and frontend assets
  • resources/css/ - Core styles
  • src/ - PHP backend (Actions, Tables, Pages, Services, Models, etc.)
  • docs/ - Feature documentation

Local Development

Client projects can symlink Core using php artisan core:symlink to enable real-time changes during development.

Writing Documentation

When building new Core features, create documentation in the docs/ directory. Use the write documentation Cursor command and update or add files in docs/. When implementing features that have documentation, read the relevant documentation files first to understand the feature requirements.