Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Jun 2, 2024 via composer

smarty/smarty v5.0.0-rc2

Smarty - the compiling PHP template engine
Package summary
Share
2
issues
1
moderate severity
license
1
1
low severity
license
1
2
licenses
1
LGPL-3.0
1
MIT
Package created
14 Jun 2012
Version published
6 Nov 2023
Maintainers
5
Total deps
2
Direct deps
1
License
LGPL-3.0

Issues

2

1 moderate severity issue

moderate
Recommendation: Validate that the package complies with your license policy
via: smarty/smarty@v5.0.0-rc2
Collapse
Expand

1 low severity issue

low
via: smarty/smarty@v5.0.0-rc2
Collapse
Expand

Licenses

GNU Lesser General Public License v3.0 only

Weakly Protective
OSI Approved
Deprecated
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
use-patent-claims
Cannot
sublicense
hold-liable
Must
include-original
state-changes
disclose-source
include-license
include-copyright
include-install-instructions
1 Packages, Including:
smarty/smarty@v5.0.0-rc2

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
symfony/polyfill-mbstring@v1.29.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of smarty/smarty 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
symfony/polyfill-mbstringv1.29.0-MIT
prod

Visualizations

Frequently Asked Questions

What does smarty/smarty do?

The Smarty/Smarty package is an incredibly powerful templating engine specifically designed for PHP. It promotes the clean segregation of presentation elements (HTML/CSS) from the actual application logic. This simplifies the development process, as it provides developers with a tool to manage front-end elements and back-end processes separately, enhancing efficiency and maintainability.

How do you use smarty/smarty?

To get started with Smarty/Smarty, you will first need to install it using Composer, a popular dependency management tool for PHP. You can install the latest stable version of Smarty with the following command:

composer require smarty/smarty

Once Smarty is installed, you can start templating right away. For example:

require_once('libs/Smarty.class.php');

$smarty = new Smarty;

$smarty->assign('name', 'John Doe');

$smarty->display('index.tpl');

In the above example, 'name' is a variable assigned a value 'John Doe', which can now be used in your index.tpl template.

For more advanced usage and best practices, refer to the 'Getting Started' section in the documentation.

Where are the smarty/smarty docs?

Detailed documentation on how to fully leverage Smarty is available online on https://smarty-php.github.io/smarty/. Here, you can find in-depth articles and guides covering everything from basic use-cases to more advanced features. The documentation is clearly structured and designed to be accessible for both beginners and experienced developers.