ardhan / laravel-simple-html
Membuat html melalui controller dengan lebih mudah
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ardhan/laravel-simple-html
This package is auto-updated.
Last update: 2025-10-13 13:28:09 UTC
README
Membuat HTML tanpa harus berpindah dari controller.
Package ini akan membantu anda untuk membuat html melalui controller.
Cara Installasi
composer require ardhan/laravel-simple-html
Contoh Penggunaan
<?php namespace App\Http\Controllers; use Page; use Element; class PageController extends Controller{ function halaman() { $page = Page::author('Ardhan Wahyu Rahmanu')->description('ini adalah halaman')->title('Halaman'); $div = Element::div('ini adalah div')->cls('attribut_kelas')->id('attribut_id'); $page->content($div); echo $page; } }
Meta
Ardhan Wahyu Rahmanu – https://rahmanu.com – ardhan.matematika@gmail.com