Download the PHP package pnx/laravel-ignite without Composer

On this page you can find all versions of the php package pnx/laravel-ignite. 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-ignite

Laravel Ignite

Laravel ignite is a package that provides the developer with rich web-ui compnents that are independent of browsers and can be fully styled to help developers deliver stylish application with coherent visual design.

Never build your html forms from scratch again as ignite takes care of that for you.

Features

Under the hood, Laravel ignite uses Alpinejs and Tailwind CSS

Installation

You can install the package via composer:

composer require pnx/laravel-ignite

The package should be auto discovered by laravel.

If that is not the case, you need to add the ServiceProvider manually in the providers array in config/app.php:

Configuration

Ignite can be configured the way you want it if the default settings is not enough.

To publish the config file config/ignite.php. Run this command:

php artisan vendor:publish --tag=ignite-config

If you want to modify the view scripts, you can publish those to resources/views/vendor/ignite with this command:

php artisan vendor:publish --tag=ignite-views

Component Attributes

All standard input attributes are of course available to ignite components.

However some behaviors are altered for some attributes described below

name

This attribute is required

id

If id attribute is absent, components will use name as id

value

The value passed to a component is passed through laravels old() view helper function.

Components will therefore use the old values if they are present in the request, otherwise the user provided default is used.

disabled

This is a boolean variable and when true, will render the html input field with disabled="disabled"

Components

This package provides the developer with alot of prewritten view components:

Form

Attributes

method - HTTP method to use when the form is submitted GET, POST, HEAD, PUT, DELETE is valid, default: POST

Label

Generates a label element.

Attributes

type - Type of label to render, values: block, inline, defaults to block

input

Generates a input element

Attributes

type: type of input element, defaults to text

Password input

Shortcut for <x-ignite-input> with type="password"

Email input

Shortcut for <x-ignite-input> with type="email"

Select

Generates a simple select dropdown element

Associative array

Attributes

options: array of options to show in the select dropdown. array keys are used as value of the field when submitted and array values are displayed in the dropdown.

Textarea

Checkbox

Generates a checkbox element

NOTE: the value submitted is "true" or "false" strings.

Radio

Generates a group of one or more radio buttons.

Attributes

options: array of options, each option will render a separate radio button. array keys are used as value of the field when submitted and array values are displayed next to the radio button.

Toggle switch

Same as checkbox but rendered as a toggle switch instead of an box.

Author

Henrik Hautakoski - [email protected]


All versions of laravel-ignite with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
illuminate/support Version ^9.0
illuminate/view Version ^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 pnx/laravel-ignite contains the following files

Loading the files please wait ....