Repository navigation
Progress
Viames Marino edited this page Feb 26, 2026
·
2 revisions
Pair\Html\FormControls\Progress renders an HTML <progress> element.
max(int|float $maxValue): selfrender(): string- Inherited methods:
value()andcaption()from FormControl
$upload = (new \Pair\Html\FormControls\Progress('uploadProgress'))
->value(45)
->max(100)
->caption('45%');
echo $upload->render();Streaming status bar:
$sync = (new \Pair\Html\FormControls\Progress('sync'))
->value(12)
->max(24)
->caption('12/24 chunks');See also: Meter, Number, FormControl.
Home · Setup · Configuration
Build with Pair 4
- Generator
- Controllers and responses
- Read models
- ActiveRecord and queries
- Forms and validation
- PairUI.js and HTML fragments
APIs and authentication
- API guide and CRUD
- Middleware and rate limits
- Users, sessions, and ACL
- Passkeys and social login
- Native mobile setup
Integrate and operate
- Integrations
- Runtime extensions and adapter keys
- Cache and cache stores
- Logs and observability
- PWA and push
- Packages and distribution
- Upgrade to v4