The native configuration language for TuskPHP applications. Built from the ground up for PHP developers with seamless elephant integration.
Born in the TuskPHP ecosystem, designed for PHP developers by PHP developers.
Execute PHP expressions, query databases, and access superglobals directly from configuration files using powerful @ operators.
Native integration with TuskQuery ORM. Query your database directly from config files with full TuskPHP elephant support.
Full integration with Dumbo (logging), Heffalump (search), Kaavan (caching), and all TuskPHP elephants out of the box.
Drop-in integration for Laravel config, Symfony parameters, and other PHP frameworks. Service providers included.
OpCache-optimized configuration loading with built-in caching and performance monitoring for production environments.
Built-in PHPUnit support with test helpers, fixtures, and mocking utilities for testing configurations and @ operators.
Built specifically for TuskPHP applications. Access PHP functions, superglobals, and elephant services directly from configs.
# Native TuskPHP Configuration
app_name: "MyTuskApp"
debug: @env("DEBUG", false)
# Database with TuskQuery
database {
host: @env("DB_HOST", "localhost")
active_users: @TuskQuery("Users").where("active", true).count()
pool_size: active_users > 1000 ? 100 : 20
}
# Elephant services integration
logging {
level: @Dumbo.getOptimalLevel()
handlers: ["file", "database", "email"]
}
# PHP-specific features
session {
name: @php(session_name())
user_id: @session("user_id")
csrf_token: @csrf_token()
}
# Smart caching with Kaavan
cache: @Kaavan.adaptive("app_settings", "5m")
Works seamlessly with TuskPHP elephants and popular PHP frameworks
Native integration
Config provider
Parameter loader
Configuration plugin
Config library
DBAL integration
Install TuskLang for PHP and start building intelligent configurations