Download the PHP package vusys/laravel-smarty without Composer
On this page you can find all versions of the php package vusys/laravel-smarty. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vusys/laravel-smarty
More information about vusys/laravel-smarty
Files in vusys/laravel-smarty
Download vusys/laravel-smarty
More information about vusys/laravel-smarty
Files in vusys/laravel-smarty
Vendor vusys
Package laravel-smarty
Short Description Replace Blade with Smarty as the default Laravel template engine.
License MIT
Homepage https://vusys.github.io/laravel-smarty/
Package laravel-smarty
Short Description Replace Blade with Smarty as the default Laravel template engine.
License MIT
Homepage https://vusys.github.io/laravel-smarty/
Please rate this library. Is it a good library?
Informations about the package laravel-smarty
vusys/laravel-smarty
Replace Blade with Smarty 5 as the default view engine in a Laravel application.
Requirements
- PHP
^8.1 - Laravel
^10 | ^11 | ^12 | ^13 smarty/smarty^5.4
Installation
The service provider is registered automatically via package discovery.
Publish the config (optional):
That writes config/smarty.php.
Quick start
Create resources/views/welcome.tpl:
Render it like any Laravel view:
Smarty resolves before Blade, so a welcome.tpl overrides an existing welcome.blade.php for the same view name.
Documentation
| Topic | What's in it |
|---|---|
| Overview | Why this package exists; how the Smarty bridge plugs into Laravel's view machinery. |
| Quick start | First template, route, and a {extends} inheritance example. |
| Configuration | Every config/smarty.php key, plus the SmartyFactory::configure() hook for advanced wiring. |
| Security policy | The shipped Balanced / Strict policies and when to use each. |
| Built-in plugins | {auth}, {can}, {feature}, {route}, {lang}, {vite}, number modifiers, and the rest. |
| Auto-shared wrapper objects | $auth, $request, $session, $route, $errors and their reserved-key behaviour. |
| Pagination | Bundled paginator presets and how to publish them. |
| Custom plugins | File-based plugins, class-backed discovery, and the discovery cache. |
| Artisan commands | smarty:optimize, the clear-* commands, and the plugin discovery cache commands. |
| Laravel integration | View composers, Debugbar/Telescope, and .tpl source-line error mapping. |
| Development | Running tests, static analysis, code style. |
License
MIT.
All versions of laravel-smarty with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.0
smarty/smarty Version ^5.4
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.0
smarty/smarty Version ^5.4
The package vusys/laravel-smarty contains the following files
Loading the files please wait ...