Powerful Features for Modern Development

StoneScriptPHP brings type safety and developer experience to PHP API development

1

Contract-Based Routing

Define your API using PHP interfaces and let StoneScriptPHP automatically generate routes

  • Automatic route generation from interfaces
  • No manual route configuration needed
  • Type-safe method signatures
  • Clear API contracts
2

Auto-Generated TypeScript Clients

Generate fully-typed TypeScript clients from your PHP DTOs automatically

  • Full TypeScript type safety
  • Automatic DTO to interface conversion
  • IDE autocomplete support
  • Compile-time error checking
3

Exceptional Developer Experience

Built with developer productivity and happiness in mind

  • CLI tools for code generation
  • Clear and helpful error messages
  • Comprehensive documentation
  • VS Code extension support
4

First-Class Angular Integration

Official Angular library with seamless integration

  • RxJS Observable support
  • HTTP interceptor integration
  • Dependency injection ready
  • Standalone component compatible

How Does It Compare?

Feature Traditional PHP StoneScriptPHP
Type Safety
Auto-Generated Clients
Contract-Based Routing
IDE Autocomplete ⚠️ Limited ✅ Full
Manual Route Config ⚠️ Required ✅ Automatic