{"id":22266609,"url":"https://github.com/fly-studio/laravel-addons-smarty","last_synced_at":"2025-03-25T14:23:30.110Z","repository":{"id":56940588,"uuid":"111320218","full_name":"fly-studio/laravel-addons-smarty","owner":"fly-studio","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-06T04:09:42.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T13:14:22.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fly-studio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-19T18:16:41.000Z","updated_at":"2022-02-23T04:34:50.000Z","dependencies_parsed_at":"2022-08-21T07:20:10.308Z","dependency_job_id":null,"html_url":"https://github.com/fly-studio/laravel-addons-smarty","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Flaravel-addons-smarty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Flaravel-addons-smarty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Flaravel-addons-smarty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-studio%2Flaravel-addons-smarty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-studio","download_url":"https://codeload.github.com/fly-studio/laravel-addons-smarty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245477533,"owners_count":20621833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T10:19:23.896Z","updated_at":"2025-03-25T14:23:30.083Z","avatar_url":"https://github.com/fly-studio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Smarty\n======\n\nThis package lets you run Smarty3 on Laravel5 elegantly.\n\n## Installation\n\n```\ncomposer require addons/smarty dev-master\n```\n\nUpdate your packages with ```composer update``` or install with ```composer install```.\n\n\n## Usage\n\nTo use the Smarty Service Provider, you must register the provider when bootstrapping your Laravel application. There are\nessentially two ways to do this.\n\nFind the `providers` key in `config/app.php` and register the Smarty Service Provider.\n\n```php\n    'providers' =\u003e [\n        // ...\n        'Addons\\Smarty\\View\\SmartyServiceProvider',\n    ]\n```\n\nThen publish the config file with `php artisan vendor:publish`. This will add the file `config/smarty.php`. This config file is the primary way you interact with Smarty.\n\nThen simply reference templates using the normal dot syntax of Laravel. \n\nFor example to load smarty template `views/blog/post.tpl`, you would use `view('blog.post')`.\n\nIn Smarty `{include}` or `{extends}` tags, you should continue to use the full directory syntax, e.g. `{extends file=\"blog/post.tpl\"}`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-studio%2Flaravel-addons-smarty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-studio%2Flaravel-addons-smarty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-studio%2Flaravel-addons-smarty/lists"}