mafuth/laravel-addons

simple addons from my old framework

v0.1 2022-06-30 10:08 UTC

This package is auto-updated.

Last update: 2025-03-29 01:04:25 UTC


README

simple addons from my old framework

How to install

composer require mafuth/laravel-addons

How to use:

  <?php
  use Mafuth\LaravelAddons\html;

  include('vendor/autoload.php');

  $html = new html();
  echo $html->minify("Your html goes here");
  echo $html->encode("Your html goes here");
  <?php

  namespace App\Http\Controllers;

  use Illuminate\Http\Request;
  use Mafuth\LaravelAddons\html;

  class testController extends Controller
  {
      public function index(){
          $html = new html();
          return $html->minify(view('index'));
      }
  }