Download the PHP package tomjamon/laravel-custom-html without Composer

On this page you can find all versions of the php package tomjamon/laravel-custom-html. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-custom-html

Total Downloads Latest Stable Version Latest Unstable Version License

Laravel Custom HTML

Based on HTML and Form Builders from Laravelcollective

This library offer :

The easiest way to install this library is to simply replace LC/HTML by this tool.

Installation

Simply launch this command from the root folder of your project :

Customize components

If you want to use a theme, or custom your views :

Publish vendor views : php artisan vendor:publish

Choose : Provider: TomJamon\Html\HtmlServiceProvider

A new folder resources/views/vendor/customhtml will be created with every components.

You can now change every components classes and stuff.

Themes

If you want to use a theme you can customize it in config/customhtml.php

FYI : Creating a TailwindCSS theme is the opposite of what Tailwind is made for. Please custom the theme, the theme is just giving a little help, an example of each component.

Components list

No Auto-discovery

Since Laravel 5.5, Taylor Otwell have instored a auto-discovery system. You do not longer need to put providers & alisase in app.php, but if you haven't auto-discovery enable :

Edit your config/app.php and add thoses lines :

providers
aliases

Examples

Project with login & register in Laravel Custom HTML

https://github.com/TiDJ/laravel-custom-html-example

Cmd : Composer install && npm run prod && php artisan serve

Pro Tip : Just change config/customhtml.php and to a php artisan optimize

Simple text input



Select

Textarea with an overrided rows number (Second array arguments)

Input File

With the control call, generating for you a label and parent block

Or you can directly insert the input file :

And don't forget the 'files' => true in the Form::model() or Form::open()

Why use : Clarity and simplicity

Here is how a form can look like

Login form




All versions of laravel-custom-html with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.5
illuminate/http Version ^8.0|^9.0
illuminate/routing Version ^8.0|^9.0
illuminate/session Version ^8.0|^9.0
illuminate/support Version ^8.0|^9.0
illuminate/view Version ^8.0|^9.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tomjamon/laravel-custom-html contains the following files

Loading the files please wait ....