Skip to content

Commit 6379462

Browse files
committed
Merge branch '2.x'
2 parents b965af3 + a8d45b6 commit 6379462

27 files changed

+303
-908
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ charset = utf-8
55
indent_size = 4
66
indent_style = space
77
end_of_line = lf
8-
insert_final_newline = true
8+
insert_final_newline = false
99
trim_trailing_whitespace = true
1010

1111
[*.md]

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.md
2+
**/.git
3+
**/.github
4+
**/dist
5+
**/vendor
6+
**/node_modules
7+
composer.lock

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
A Simple & Beautiful Exception Viewer for FilamentPHP's Admin Panel
2727

28-
28+
* For FilamentPHP 2.x use version 1.x
2929

3030
## Installation
3131

@@ -72,6 +72,18 @@ You can change icons and navigations settings as well as the active pill and slu
7272
* **Mass Pruning**: By default exceptions older than a week are scheduled to be pruned daily. You can change the `period` by providing a date in the config or using carbon.
7373
> **Note**
7474
> in order for the schedule to work you need to make sure that you have configured your server if not follow this link on how to configure it. [Running The Scheduler](https://laravel.com/docs/9.x/scheduling#running-the-scheduler)
75+
76+
## Theme
77+
By default the plugin uses the default theme of Filamentphp, but if you are using a custom theme then include the plugins view path into the content array of your tailwind.config.js file:
78+
```js
79+
export default {
80+
content: [
81+
// ...
82+
'./vendor/bezhansalleh/filament-exceptions/resources/views/**/*.blade.php', // Language Switch Views
83+
],
84+
// ...
85+
}
86+
```
7587
## Translations
7688
Publish the translations with
7789
```bash

composer.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,19 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^8.0|^8.1",
21-
"spatie/laravel-package-tools": "^1.9.2",
22-
"filament/filament": "^2.0",
23-
"bezhansalleh/filament-addons": "^1.0",
24-
"illuminate/contracts": "^9.0|^10.0",
25-
"spatie/laravel-ignition": "^1.0|^2.0"
20+
"php": "^8.1|^8.2",
21+
"filament/filament": "^3.0",
22+
"spatie/laravel-package-tools": "^1.9",
23+
"spatie/laravel-ignition": "^2.0"
2624
},
2725
"require-dev": {
2826
"laravel/pint": "^1.0",
29-
"nunomaduro/collision": "^6.0|^7.0",
30-
"nunomaduro/larastan": "^2.0.1",
31-
"orchestra/testbench": "^7.0|^8.0",
32-
"pestphp/pest": "^1.21",
33-
"pestphp/pest-plugin-laravel": "^1.1",
34-
"phpunit/phpunit": "^9.5"
27+
"nunomaduro/collision": "^7.0",
28+
"nunomaduro/larastan": "^2.0",
29+
"orchestra/testbench": "^8.0",
30+
"pestphp/pest": "^2.9",
31+
"phpunit/phpunit": "^10.0",
32+
"spatie/laravel-ray": "^1.26"
3533
},
3634
"autoload": {
3735
"psr-4": {

config/filament-exceptions.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@
1515

1616
/** Icons to use for navigation (if enabled) and pills */
1717
'icons' => [
18-
'navigation' => 'heroicon-o-chip',
19-
'exception' => 'heroicon-o-chip',
20-
'headers' => 'heroicon-o-switch-horizontal',
21-
'cookies' => 'heroicon-o-database',
22-
'body' => 'heroicon-s-code',
23-
'queries' => 'heroicon-s-database',
18+
'navigation' => 'heroicon-o-cpu-chip',
19+
'exception' => 'heroicon-o-cpu-chip',
20+
'headers' => 'heroicon-o-arrows-right-left',
21+
'cookies' => 'heroicon-o-circle-stack',
22+
'body' => 'heroicon-s-code-bracket',
23+
'queries' => 'heroicon-s-circle-stack',
2424
],
2525

2626
'is_globally_searchable' => false,
2727

2828
/**-------------------------------------------------
29-
* Change the default active pill
29+
* Change the default active tab
3030
*
3131
* Exception => 1 (Default)
3232
* Headers => 2
3333
* Cookies => 3
3434
* Body => 4
3535
* Queries => 5
3636
*/
37-
'active_pill' => 1,
37+
'active_tab' => 5,
3838

3939
/**-------------------------------------------------
4040
* Here you can define when the exceptions should be pruned

configure.php

Lines changed: 0 additions & 266 deletions
This file was deleted.

0 commit comments

Comments
 (0)