| Package Data | |
|---|---|
| Maintainer Username: | Fenzland |
| Maintainer Contact: | uukoo@163.com (Fenzland) |
| Package Create Date: | 2016-06-04 |
| Package Last Update: | 2016-11-25 |
| Home Page: | http://htsl.fenzland.com |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-06 15:10:02 |
| Package Statistics | |
|---|---|
| Total Downloads: | 64 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Laravel service provider of Htsl.php
I. Install,
composer require htsl/htsl:@dev htsl/for-laravel:@dev
II. Then add the provider to your autoloaded service provider list in your config/app.php.
Htsl\ForLaravel\HtslServiceProvider::class,
III. Publish the vendor.
./artisan vendor:publish
IV. Create views with extension .htsl, and enjoy the HTSL!
more: The vender:publish command create two files: a. config/htsl.php b. app/Htsl/TExtension.php
With config/htsl.php editing, you can change the way Htsl.php works, even add new feature into. With adding method into app/Htsl/TExtension.php, you can add the method to the $this in the views.