htsl/for-laravel

Laravel service provider of Htsl.php

Installs: 64

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/htsl/for-laravel

0.1.2 2016-11-25 04:19 UTC

This package is not auto-updated.

Last update: 2025-09-28 01:01:31 UTC


README

Laravel service provider of Htsl.php

Usage

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.