Smarty Update to Version 5
Full PHP 8 support, improved performance and modern security standards for your Smarty templates.
- PHP 8.0 – 8.3 compatible
- Template migration incl. tests
- Backup before every update
- Response within 24h
Request a free quote
100% free & non-binding
Why update Smarty to Version 5?
Modern templates for modern PHP versions
PHP 8 Compatibility
Full support for PHP 8.0, 8.1, 8.2 and 8.3 without deprecated functions
Performance
Faster template compilation and optimised cache management
Security
Modern security standards and closed security vulnerabilities
Clean Code
Removed deprecated features and modern programming standards
Maintainability
Easier maintenance through up-to-date code and better documentation
Future-proof
Long-term support and further development
Smarty Version Comparison
Time for an update? See the difference here
| Smarty 5 (Current) | Smarty 3/4 (Outdated) | |
|---|---|---|
| Status | Recommended | End of Life |
| PHP Support: | 8.0, 8.1, 8.2, 8.3 | PHP 5.x - 7.4 only |
| Performance: | Optimised template compilation | Deprecated functions |
| Security: | Modern standards | No more updates |
| Maintenance: | Actively developed and supported | No active development |
Is your Smarty installation still running on PHP 8? Many hosters have already switched to PHP 8.1 or higher. Smarty 3 and 4 are not fully compatible with PHP 8 and cause critical errors. Recommendation: Upgrade now to Smarty 5 for a secure and future-proof installation.
Common Error Messages
Do you recognise these errors? Time for an update!
Deprecated: Function create_function()This function was deprecated in PHP 7.2 and removed in PHP 8.0Call to undefined function each()The each() function was completely removed in PHP 8.0Cannot use string offset as an arrayStricter array access check in PHP 8.xUncaught TypeError: count()PHP 8 requires correct type declarationsArgument #1 must be of type arrayStricter type checking for function callsPassing null to parameter #1Null values must be explicitly allowedAre you seeing similar error messages?
All these errors are clear signs that your Smarty version is not compatible with PHP 8. An update to Smarty 5 fixes all these issues.
How the Smarty upgrade works
From analysis to go-live – transparent and professional
1. Analysis
I check your Smarty templates and PHP code for compatibility with Smarty 5 and PHP 8.
2. Quote
You receive a detailed fixed-price offer – guaranteed without hidden costs.
3. Backup
Full backup of your templates, plugins and application.
4. Migration
Upgrade to Smarty 5 with adjustment of all templates and deprecated features.
5. Testing
Comprehensive testing of all templates, plugins and functions with PHP 8.
6. Go-Live
After your approval, the updated version goes live.
Frequently Asked Questions
Answers to the most important questions about the Smarty update