Download the PHP package tsfcorp/uifeedback without Composer

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

Display messages library

Makes it easy to give a visual feedback to user

Installation

Require this package in your composer.json. Run the following command:

After updating composer, the service provider will automatically be registered and enabled, along with the facade, using Auto-Discovery

Next step is to run the artisan command to bring the config into your project

Update config/uifeedback.php

Usage Instructions

This library is build to work by default with Bootstrap 4.

You can add new messages wherever you'd like in you application, like this:

set method has 3 parameters:

Message format has the following options, but you can specify there whatever class you'd like and customise the CSS in your app.

Message Format Value
PRIMARY primary
SECONDARY secondary
SUCCESS success
DANGER danger
WARNING warning
INFO info
LIGHT light
DARK dark

Convenience methods

You can set a message using the following pattern for supported message formats:

Display messages

In order to display the messages, you can add the following line in your views:

Output messages

If you'd like to display a formatted message right away, you can use the following in your views:

Group messages

If you set multiple messages of the same type (for example SUCCESS), a new alert will be generated for each message. You can change this behaviour by setting the group_errors to true. This way messages of the same type will be displayed in the same alert box.

Session errors

UiFeedback can capture validation errors and display these along with other messages you set. This is the default behaviour. It can be changed in the config: capture_validation_errors

Change output format

In order to change the format for a message you need to publish the view used:

Then you can edit the published view in: resources/views/vendor


All versions of uifeedback with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0|^8.0
illuminate/support Version ^5.4|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/session Version ^5.4|^6.0|^7.0|^8.0|^9.0|^10.0|^11.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 tsfcorp/uifeedback contains the following files

Loading the files please wait ....