Download the PHP package codewithdennis/filament-simple-alert without Composer

On this page you can find all versions of the php package codewithdennis/filament-simple-alert. 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 filament-simple-alert

Filament Simple Alert

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This package offers a straightforward and easy-to-use alert component for your Filament application. It allows you to quickly implement customizable alert messages, enhancing the user experience by providing clear and concise notifications.

Simple Alert

Installation

You can install the package via composer:

Make sure you add the following to your `tailwind.config.js file.

Custom Theme

You will need to create a custom theme for the styles to be applied correctly.

Usage

The alerts can be used in your infolists or forms, make sure you pick the right component.

Simple Alerts

There are 4 types of simple alerts: danger, info, success, and warning.

If you would like to use a different color, you can use the color method.

Icon

By default, simple alerts come with an icon. For example, the ->danger() method includes a heroicon-s-x-circle icon. If you want to use a different icon, you can use the icon method.

Icon Vertical Alignment

You can change the vertical alignment of the icon by using the iconVerticalAlignment method.

Title

You can add a title to the alert by using the title method.

Description

You can add a description to the alert by using the description method.

Border

You can add a border to the alert by using the border method.

Actions

You can also add actions to the alert by using the actions method. All regular action features are supported.

Actions Vertical Alignment

You can change the vertical alignment of the actions by using the actionsVerticalAlignment method.

Example

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-simple-alert with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.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 codewithdennis/filament-simple-alert contains the following files

Loading the files please wait ....