Skip to main content

Technology Stack

Scoriet is built on a carefully curated selection of modern, production-ready technologies. Each component was chosen for reliability, performance, community support, and long-term viability.

Backend Stack

Core Framework

TechnologyVersionPurpose
Laravel12.xFull-stack PHP web framework, handles routing, middleware, database ORM
PHP8.2+Server-side language, strong typing, modern syntax features
ComposerLatestPHP dependency management and package installation

Why Laravel 12?

  • Mature, battle-tested framework with excellent documentation
  • Built-in authentication, authorization, and API scaffolding
  • Eloquent ORM eliminates raw SQL complexity
  • Artisan CLI provides powerful development tools
  • Strong community and extensive package ecosystem

Authentication & Security

TechnologyVersionPurpose
Laravel PassportLatestOAuth2 server implementation, token management
JWT (JSON Web Tokens)Via PassportStateless authentication, token-based API security
bcryptBuilt-inPassword hashing algorithm
CORS MiddlewareBuilt-inCross-origin resource sharing protection

Authentication Flow:

  • Password Grant OAuth2 flow for desktop-style login
  • JWT tokens issued on successful authentication
  • Automatic token refresh mechanism
  • API guard configuration for protected routes

Database & ORM

TechnologyVersionPurpose
MySQL5.7+ / 8.0Primary relational database
Eloquent ORMVia LaravelObject-relational mapping, query builder
Database MigrationsVia LaravelSchema versioning and evolution
Query CachingOptionalPerformance optimization layer

Database Support:

  • MySQL: Full support (primary)
  • PostgreSQL: Full parser support
  • MSSQL: Enterprise SQL Server support
  • SQLite: Development and testing
  • Firebird: Legacy system compatibility

Real-Time Communication

TechnologyVersionPurpose
Laravel ReverbLatestWebSocket server for real-time features
BroadcastingVia LaravelEvent broadcasting to connected clients
RedisOptionalMessage queue and broadcasting backend
Pusher ProtocolCompatibleStandard WebSocket protocol support

Use Cases:

  • Live notifications and alerts
  • Real-time team messaging
  • Collaborative feature updates
  • Presence awareness (who's online)

Code Generation & Parsing

TechnologyVersionPurpose
Custom SQL ParserNativeDatabase schema analysis and extraction
TokenizerNativeSQL statement tokenization
AST (Abstract Syntax Tree)NativeStructured code representation
Code Generator ServiceNativeTemplate-based code generation

Parser Capabilities:

  • Table, column, constraint extraction
  • Index and key relationship mapping
  • Data type normalization across databases
  • Comment and documentation preservation

Utilities & Services

TechnologyVersionPurpose
Stripe SDKLatestPayment processing integration
PayPal SDKLatestAlternative payment gateway
Git APIVia GitPHPGit repository interaction
SSH/FTP LibrariesLatestDeployment automation

Frontend Stack

Core Framework & Language

TechnologyVersionPurpose
React19.xUI component library and state management
TypeScript5.x+Type-safe JavaScript superset
Inertia.js2.0Server-driven React application bridge
Vite7.0Modern build tool and dev server

Why This Combination?

  • React 19: Latest hooks API, concurrent rendering, automatic batching
  • TypeScript: Catch errors at compile-time, improved IDE support
  • Inertia.js: Single codebase with Laravel, shared state, no JSON API overhead
  • Vite: Extremely fast HMR (Hot Module Replacement), near-instant builds

UI Component Libraries

TechnologyVersionPurpose
PrimeReact10.xProfessional component library (tables, forms, dialogs)
rc-dockLatestMulti-Document Interface (MDI) workspace layout
Ant Design IconsLatestIcon library (comprehensive icon set)
Tailwind CSS4.0Utility-first CSS framework for styling

Component Strategy:

  • rc-dock: Main workspace container with floating/docking panels
  • PrimeReact: Data-heavy components (DataTable, Form, Dialog, etc.)
  • Custom Components: Specialized domain-specific UI elements
  • Tailwind: Consistent styling across all components

Code Editing & Visualization

TechnologyVersionPurpose
CodeMirrorLatestSyntax highlighting, code editing
@xyflow/reactLatestDiagram and flowchart editor
QuillLatestRich text editor for documentation
Chart.jsLatestData visualization and graphing

Use Cases:

  • SQL query editor with syntax highlighting
  • Template code editing with preview
  • Database diagram visualization
  • Report generation and charting

State Management & Utilities

TechnologyVersionPurpose
React Context APIBuilt-inGlobal state management
useReducer HookBuilt-inComplex state logic
localStorage APIBrowserClient-side persistence (tokens, settings)
react-hotkeys-hookLatestKeyboard shortcut handling

State Management Pattern:

  • Inertia.js shared props for server state
  • React Context for global UI state
  • localStorage for client preferences and tokens
  • No external Redux/Zustand (kept simple)

Internationalization & Localization

TechnologyVersionPurpose
i18nextLatestMulti-language support
i18next-browser-languagedetectorLatestAutomatic language detection
react-i18nextLatestReact integration for i18n

Supported Languages:

  • English (primary)
  • German (Deutsch)
  • Extensible for additional languages

Data & File Processing

TechnologyVersionPurpose
JSZipLatestZIP file generation and manipulation
csv-parserLatestCSV import and parsing
FileSaver.jsLatestClient-side file download
FormData APIBrowserMultipart file uploads

Development Tools

Build & Bundling

TechnologyVersionPurpose
Vite7.0Build tool, dev server, module bundler
EsbuildVia ViteUltra-fast JavaScript bundler
RollupVia ViteCode splitting and optimization

Build Features:

  • HMR (Hot Module Replacement) for instant feedback
  • Source maps for debugging production code
  • Code splitting by route and component
  • Minification and tree-shaking

Code Quality

TechnologyVersionPurpose
ESLintLatestJavaScript/TypeScript linting
PrettierLatestCode formatting (consistency)
TypeScript5.x+Type checking and validation

Commands:

npm run lint # Run ESLint with auto-fix
npm run format # Run Prettier formatting
npm run types # TypeScript type checking

Testing Framework

TechnologyVersionPurpose
Pest PHPLatestModern PHP testing framework
PHPUnitVia PestTest runner and assertions
JestAvailableJavaScript/React testing (optional)
React Testing LibraryAvailableComponent testing (optional)

Infrastructure & Deployment

Server Requirements

PHP: 8.2 or higher
MySQL: 5.7+ or 8.0+
Node.js: 18.x or higher (for npm)
Composer: Latest version
npm: 9.x or higher

Web Server Options

ServerStatusNotes
ApacheRecommendedRequires mod_rewrite enabled
NginxRecommendedSimpler config, better performance
Laravel HerdExcellentLocal development (macOS/Linux)
Laravel SailExcellentDocker-based development

Caching & Sessions

TechnologyVersionPurpose
RedisOptionalSession storage, cache backend, broadcasting
File CacheDefaultDevelopment caching (file-based)
Database SessionsDefaultFallback session storage

Environment Configuration

.env # Environment variables
.env.example # Template for required variables
config/ # Configuration files
database/ # Migrations and seeders
storage/ # File storage (logs, uploads)

Key Dependencies Overview

Backend Dependencies

{
"laravel/framework": "^12.0",
"laravel/passport": "*",
"laravel/reverb": "*",
"stripe/stripe-php": "*",
"paypal/checkout-sdk-php": "*",
"githubalicesmith/php-git": "*"
}

Frontend Dependencies

{
"react": "^19.0",
"typescript": "^5.0",
"@inertiajs/react": "^2.0",
"primereact": "^10.0",
"rc-dock": "latest",
"codemirror": "^6.0",
"@xyflow/react": "^12.0",
"quill": "^2.0",
"chart.js": "^4.0",
"tailwindcss": "^4.0",
"i18next": "^23.0"
}

Version Management & Updates

Deprecation Policy

  • Major version updates: Announced 6 months in advance
  • Security updates: Deployed within 24 hours
  • Bug fixes: Released continuously
  • Compatibility notes: Detailed in CHANGELOG.md

Upgrade Path

  • Semantic versioning (MAJOR.MINOR.PATCH)
  • Changelog documents breaking changes
  • Migration guides for major updates
  • Backward compatibility maintained when possible

Technology Justification Matrix

ComponentAlternativeWhy Scoriet Chose It
LaravelSymfony, DjangoEcosystem, Passport, built-in features
ReactVue, AngularFlexibility, component ecosystem, job market
Inertia.jsREST APIMonolithic simplicity, shared state
ViteWebpack, ParcelSpeed, modern architecture, better DX
rc-dockCustom MDIProduction-ready, feature-complete
PrimeReactMaterial-UI, ChakraComprehensive, professional appearance
TypeScriptJavaScriptType safety, refactoring confidence, IDE support
TailwindCSS Modules, SCSSConsistency, rapid styling, small bundle size

Performance Benchmarks

Frontend Performance Targets

  • Initial Load: < 2 seconds (LCP)
  • Interaction Ready: < 3 seconds (TTI)
  • Code Paint: < 1.5 seconds (FCP)
  • Core Web Vitals: All Green

Backend Performance Targets

  • API Response Time: < 200ms (p95)
  • Database Query Time: < 50ms (median)
  • WebSocket Message Latency: < 100ms

Monitoring & Logging

Application Monitoring

  • Laravel Telescope: Development debugging (optional)
  • Sentry: Error tracking and reporting
  • New Relic/DataDog: APM and infrastructure monitoring

Logging

  • Application Logs: storage/logs/laravel.log
  • Web Server Logs: Standard Apache/Nginx access logs
  • Database Logs: Slow query logging (MySQL)

Conclusion

Scoriet's technology stack represents a deliberate choice of modern, proven technologies that prioritize:

  1. Developer Experience: Fast feedback loops, clear abstractions, strong typing
  2. Performance: Optimized for speed at every layer
  3. Maintainability: Well-documented, large community, long-term support
  4. Scalability: Can grow from small to enterprise deployments
  5. Security: Built-in protections against common vulnerabilities

This stack enables Scoriet to deliver professional-grade code generation tooling while remaining maintainable and extensible for years to come.


Ready to dive deeper? Check the Project Structure to understand how these technologies are organized in the codebase.