Download the PHP package makararoth/filament-react-error-pages without Composer

On this page you can find all versions of the php package makararoth/filament-react-error-pages. 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-react-error-pages

Filament React Error Pages

A Laravel package that provides React-based custom error pages with Filament admin panel integration.

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Features

Screenshots

Coming soon

Installation

Prerequisites

Via Composer

Publish Assets and Config

Troubleshooting Installation

If you encounter an error during the artisan filament:upgrade command after installation that indicates missing asset files, please ensure you're using the latest version of the package:

The error might look like:

This issue was fixed in version 0.1.5 by ensuring the required asset files are properly published and available in the correct location.

If you're still experiencing issues after upgrading, you may need to manually publish the assets:

This will ensure the CSS and JavaScript files are properly published to your application.

Configuration

After publishing the configuration file, you can customize the error pages in the config/filament-react-error-pages.php file:

Usage

Basic Usage

Once installed and configured, the package will automatically replace Laravel's default error pages with React-powered custom error pages.

Custom Error Pages

You can create your own custom error components by:

  1. Creating React components in your application
  2. Registering them in the configuration:

Usage in Blade Templates

You can render error pages manually in your Blade templates:

Filament Integration

When Filament integration is enabled, the package will provide custom error pages within the Filament admin panel. Example usage:

Customization

Styling the Error Pages

You can customize the appearance of error pages by:

  1. Modifying the config file
  2. Creating custom React components
  3. Publishing and editing the views

Supported Error Codes

Testing

Changelog

Please see CHANGELOG.md for more information on what has changed recently.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

For Maintainers

Releasing a New Version

When releasing a new version of this package, follow these steps to ensure assets are properly included:

  1. Make your changes to the codebase
  2. Run the build process to generate assets:

  3. Check that the following files exist and have content:
    • dist/js/app.js
    • dist/css/app.css
    • public/js/app.js
    • public/css/app.css
  4. Update the version number in package.json
  5. Update the CHANGELOG.md with details of the changes
  6. Commit all changes, including the built assets in the dist directory
  7. Tag the release with the new version number
  8. Push to the repository with tags:

  9. The package will automatically update on Packagist

Important: Do not ignore the /dist directory in .gitignore. The built assets must be included in the repository for the package to work correctly when installed via Composer.

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail to Makara Roth via [email protected]. All security vulnerabilities will be promptly addressed.

Credits

License

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


All versions of filament-react-error-pages with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
filament/filament Version ^3.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 makararoth/filament-react-error-pages contains the following files

Loading the files please wait ....