winter / wn-ignition-plugin
Ignition integration for Winter CMS.
Fund package maintenance!
wintercms
Open Collective
Installs: 439
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 2
Open Issues: 1
Type:winter-plugin
Requires
- php: >=7.2
- composer/installers: ~1.0
- spatie/laravel-ignition: ^1.4
This package is auto-updated.
Last update: 2024-11-20 07:39:11 UTC
README
Beautiful and useful error pages. Integrates the Ignition error page into Winter CMS.
Installation
This plugin is available for installation via Composer.
composer require --dev winter/wn-ignition-plugin
After installing the plugin you will need to run the migrations and (if you are using a public folder) republish your public directory.
php artisan migrate
Usage Notes:
Configuration
See config/ignition.php and config/flare.php for the available configuration options.
License
This package is licensed under the MIT license.
Support
If you would like to contribute to this plugin's development, please feel free to submit issues or pull requests to the plugin's repository here: https://github.com/wintercms/wn-ignition-plugin
If you would like to support Winter CMS, please visit WinterCMS.com
TODO:
- DON'T USE IN PRODUCTION YET
- Verify configuration can be overrided in the Winter way, looks like package is loading configuration directly from a file path
- Fix support for theme-rendered pages, remove the Laravel debug=false error pages
- Add Winter-specific context variables (Winter version, installed plugins & versions)
- Fix auth context variables to support Winter auth
- Filter out sensitive values (sessions, cookies, passwords, api keys, secrets, etc); especially when uploading to Flare
- See if there's some way to configure the "open in editor" links to be defined by an environment variable (both the editor and the base path to the file since the file could be run inside of Homestead which means the path wouldn't be valid on the host system)
- Change the styling to be more "Winter-fied" (blues instead of Laravel Red)
- Document how to extend the context variables
- Add ability to replay exceptions using the Ignition view (or at least the data from them) in the Backend Event Logs section