Download the PHP package softrules/laravel without Composer
On this page you can find all versions of the php package softrules/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download softrules/laravel
More information about softrules/laravel
Files in softrules/laravel
Package laravel
Short Description Laravel implementatie van de SoftRules Userinterfaces
License proprietary
Homepage https://github.com/my-tp-vergelijken/softrules-laravel
Informations about the package laravel
Laravel
Laravel implementatie van de SoftRules Userinterfaces
Installation
You can install the package via composer:
Publish the assets and config
To publish the assets and config file run the following command:
This will publish the assets to the public/vendor/softrules
directory and the config file to the config/softrules.php
directory.
In the config file can place your SoftRules credentials for the forms you want to start using in your application.
Setting up the config
You can add as many forms as you like by adding entries to the forms
array in the config/softrules.php
file.
Keep the assets up-to-date
Add the following to the composer scripts post-install-cmd
and post-update-cmd
to keep the assets up-to-date after running composer install
or composer update
:
For example:
Usage
After setting up the config in the config/softrules.php
file you can start using the SoftRules forms in your application.
Simply add a form to the blade file where you want to use the SoftRules form:
Customisation
Overriding SoftRules component classes
Every component in SoftRules can be customised by overriding the classes or by adding inline styles by adding the following to a ServiceProvider
:
For example:
Adding inline styles:
Using TailWind CSS:
Customising global colors
You can use CSS variables to customise the global colors of the SoftRules form.
All versions of laravel with dependencies
ext-dom Version *
ext-simplexml Version *
spatie/laravel-package-tools Version ^1.16
laravel/framework Version ^10.0|^11.0
softrules/php Version ^0.2.12