smarty / smarty
Smarty - the compiling PHP template engine
Installs: 29 283 699
Dependents: 510
Suggesters: 45
Security: 15
Stars: 2 261
Watchers: 182
Forks: 712
Open Issues: 78
Requires
- php: ^7.2 || ^8.0
- symfony/polyfill-mbstring: ^1.27
Requires (Dev)
- phpunit/phpunit: ^8.5 || ^7.5
- smarty/smarty-lexer: ^4.0.2
- v5.4.2
- v5.4.1
- v5.4.0
- v5.3.1
- v5.3.0
- v5.2.0
- v5.1.0
- dev-master / 5.0.x-dev
- v5.0.2
- v5.0.1
- v5.0.0
- v5.0.0-rc3
- v5.0.0-rc2
- v5.0.0-rc1
- v4.5.5
- v4.5.4
- v4.5.3
- v4.5.2
- v4.5.1
- v4.5.0
- v4.4.1
- v4.4.0
- v4.3.5
- v4.3.4
- v4.3.3
- v4.3.2
- v4.3.1
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v4.0.0-rc.0
- v3.1.48
- v3.1.47
- v3.1.46
- v3.1.45
- v3.1.44
- v3.1.43
- v3.1.42
- v3.1.41
- v3.1.40
- v3.1.39
- v3.1.38
- v3.1.37.1
- v3.1.37
- v3.1.36
- v3.1.35
- v3.1.34
- v3.1.33
- v3.1.32
- v3.1.31
- v3.1.30
- v3.1.29
- v3.1.28
- v3.1.27
- v3.1.26
- v3.1.25
- v3.1.24
- v3.1.23
- v3.1.21
- v3.1.20
- v3.1.19
- v3.1.18
- v3.1.17
- v3.1.16
- v3.1.15
- v3.1.14
- v3.1.13
- v3.1.12
- v3.1.11
- v2.6.33
- v2.6.31
- v2.6.30
- v2.6.29
- v2.6.28
- v2.6.27
- v2.6.26
- v2.6.25
- v2.6.24
- dev-support/4
- dev-issue_1074
- dev-count_not_deprecated
- dev-1028_avoid_deprecation_notice_when_using_class_constants
- dev-979_setErrorUnassigned
- dev-1022_prependtemplatedir
- dev-scottchiefbaker/master
- dev-993_remove_unused_attributes_from_config_load_and_docs
- dev-996_prevent_notices_on_null_to_string_conversion_in_appendcode
- dev-1000_fix_referencing_native_php_classes_in_global_namespace
- dev-994_getTemplateVars_returns_objects
- dev-remove_references_to_smarty.net
- dev-variables_by_reference_964
- dev-support/3.1
- dev-support/5
- dev-977_warning_in_hasvariable
- dev-972_assign_returned_this
- dev-966_error_in_compilealltemplates
- dev-937_containment_operators
- dev-remove_has_code_flag
- dev-633_nullsafe_operator
- dev-warn_when_using_unregistered_function
- dev-952_scoped_variables_overwriting_parent_scope
- dev-949_too_many_shorthand_attributes
- dev-issue_939_for_smarty4
- dev-issue_939_support_implode_substr_json_encode
- dev-issue_935_template_path_in_compilerexception
- dev-deprecate_stream_variables
- dev-wxiaoguang-fix-escape-5.0-for4.3
- dev-wxiaoguang-fix-escape-5.0
- dev-issue866
- dev-features/php83support_43
- dev-feature/php83support
- dev-issue_922
- dev-issue_906
- dev-issue907
- dev-issue_895_43
- dev-issue_895
- dev-smarty5
- dev-issue_876
- dev-issue_890
- dev-bugfix/fix_undefined_property_warnings
- dev-js_escape_security_fix
- dev-js_escape_security_fix_31
- dev-smarty5_new_codeframes
- dev-wisskid-fixing-ci-patch-1
- dev-smarty5_codeframes
- dev-feature/dereferencing_of_non_objects
- dev-patch-1
- dev-bugfix/error_on_array_key_access_when_var_is_false
- dev-bugfix/mute_errors_for_php7_too
- dev-feature/fix_file_perms_and_respect_umask
- dev-420upd
- dev-php82
- dev-feature/improve_docs_markdown
- dev-deprecate_php_functions_as_modifiers
- dev-bugfix/underscore_in_template_name
- dev-i155-fix
- dev-reorganize_testrunners
- dev-bugfix/silence_strftime_notices
- dev-bugfix/strip_tags_php81
- dev-clean_output_buffer_for_all_throwables_v4
- dev-bugfix/rand_without_param_v4
- dev-bugfix/rand_without_param_v3
- dev-777-second-parameter-for-unescape-modifier-not-working-3.1
- dev-777-second-parameter-for-unescape-modifier-not-working
- dev-AnrDaemon-fix-issue-549-v4
- dev-JonisoftGermany-master
- dev-bugfix/do_not_use_obsolete_smarty_properties
- dev-AnrDaemon-fix-issue-549-v3
- dev-mfettig-php81-deprecations
- dev-feature/local_testrunners_using_docker
- dev-security/blockfunctioninjection_v3
- dev-security/blockfunctioninjection
- dev-bugfix/699
- dev-bugfix/706
- dev-feature/php-8.1
- dev-bugfix/702
- dev-fix_phpunit_expectedexceptions
- dev-feature/add_docs
- dev-support/2.6
- dev-Smarty2
- dev-feature/php8-support
- dev-support/smarty3
- dev-m-haritonov-escape
- dev-feature/do_not_use_at_suppression_for_default_modifier
- dev-bugfix/inline_include_string_template_crash
- dev-security/static_classes
- dev-experimental_compile_check_optimization
- dev-bugfix/template_object_sandbox_escape
- dev-bugfix/tplfunction_sandbox_escape
- dev-features/docs
- dev-bugfix/fix-lexer-sources
- dev-feature/php8-supporrt
- dev-xorti-fix-error-handler-function
- dev-feauture/run_unit_tests_for_php_5
- dev-bugfix/caching_attributes_and_cacheable_plugin
- dev-feaure/add_lexer_source_to_export_for_package_maintainers
- dev-bugfix/strip_doesnt_remove_whitespaces_after_comment_2
- dev-bugfix/498_error_in_replacing_isset_with_null_check
- dev-bugfix/strip_doesnt_remove_whitespaces_after_comment
- dev-feature/merge_smarty-phpunit_into_tests_subfolder
This package is auto-updated.
Last update: 2024-11-21 22:06:56 UTC
README
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Documentation
Read the documentation to find out how to use it.
Requirements
Smarty v5 can be run with PHP 7.2 to PHP 8.4.
Installation
Smarty versions 3.1.11 or later can be installed with Composer.
To get the latest stable version of Smarty use:
composer require smarty/smarty
More in the Getting Started section of the docs.