This repository was archived by the owner on Aug 31, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +26
-14
lines changed Expand file tree Collapse file tree 5 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,16 @@ SESSION_DRIVER=file
29
29
30
30
```` markdown
31
31
npm run dev
32
+ php artisan migrate
32
33
php artisan serve
33
34
````
35
+
36
+ ## Config
37
+
38
+ ### Version in Blade
39
+
40
+ ```` blade
41
+ @version
42
+ @version('full')
43
+ @version('compact')
44
+ ````
Original file line number Diff line number Diff line change 5
5
Use this section to tell people about which versions of your project are
6
6
currently being supported with security updates.
7
7
8
- | Version | Supported |
9
- | ------- | ------------------ |
10
- | 5.1. x | :white_check_mark : |
11
- | 5 .0.x | : x : |
12
- | 4 .0.x | : white_check_mark : |
13
- | < 4.0 | :x : |
8
+ | Version | PHP | Supported |
9
+ | --------- | -----| -------------------- |
10
+ | 1.0. x | 8.1 | :white_check_mark : |
11
+ | 1 .0.x | 8.0 | : white_check_mark : |
12
+ | 1 .0.x | 7.x | : x : |
13
+ | < 1.0 | * | :x : |
14
14
15
15
## Reporting a Vulnerability
16
16
Original file line number Diff line number Diff line change 1
1
mode : ' absorb' # or 'increment'
2
2
blade-directive : version
3
3
current :
4
- label : v
4
+ label :
5
5
major : 1
6
6
minor : 0
7
7
patch : 0
8
- prerelease :
8
+ prerelease : alpha
9
+ format : ' {$major}.{$minor}.{$patch}-{$prerelease}'
9
10
buildmetadata :
10
- commit : 100001
11
+ commit : 1001
11
12
timestamp :
12
13
mode : absorb
13
14
year :
@@ -45,11 +46,11 @@ format:
45
46
prerelease : " {$prerelease}"
46
47
buildmetadata : " {$buildmetadata}"
47
48
commit : " {$commit}"
48
- version : ' version {$major}.{$minor}.{$patch} (commit {$commit})'
49
- version-only : ' version {$major}.{$minor}.{$patch}'
49
+ version : ' {$major}.{$minor}.{$patch} (commit {$commit})'
50
+ version-only : ' {$major}.{$minor}.{$patch}'
50
51
# # Bracket enclosed expressions "[.?{$variable}]" are only rendered if the ?={$variable} is filled
51
52
full : ' {$version-only}[.?={$prerelease}][+?={$buildmetadata}] (commit {$commit})'
52
- compact : " v {$major}.{$minor}.{$patch}-{$commit}"
53
+ compact : " {$major}.{$minor}.{$patch}-{$commit}"
53
54
timestamp-year : ' {$timestamp.year}'
54
55
timestamp-month : ' {$timestamp.month}'
55
56
timestamp-day : ' {$timestamp.day}'
Original file line number Diff line number Diff line change 23
23
</head >
24
24
<body class =" font-sans antialiased" >
25
25
@if ( ! App:: environment ([' Production' ,' prd' ,' PROD' ]) )
26
- <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } @version </span ></div >
26
+ <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } @version ( ' compact ' ) </span ></div >
27
27
@endif
28
28
<x-jet-banner />
29
29
Original file line number Diff line number Diff line change 35
35
36
36
<div class =" container-fluid px-0" >
37
37
@if ( ! App:: environment ([' Production' ,' prd' ,' PROD' ]) )
38
- <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } @version </span ></div >
38
+ <div class =" md:visible ribbon ribbon-top-left" ><span > < small > {{ App:: environment () } }@version ( ' compact ' )</ small > </span ></div >
39
39
@endif
40
40
<nav class =" navbar navbar-expand-sm navbar-light bg-light border-bottom" >
41
41
<!-- Navbar content -->
You can’t perform that action at this time.
0 commit comments