File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -123,11 +123,15 @@ public function handle()
123
123
':uc:package ' ,
124
124
':lc:vendor ' ,
125
125
':lc:package ' ,
126
+ ':kc:vendor ' ,
127
+ ':kc:package ' ,
126
128
], [
127
129
$ this ->conveyor ->vendorStudly (),
128
130
$ this ->conveyor ->packageStudly (),
129
131
strtolower ($ this ->conveyor ->vendor ()),
130
132
strtolower ($ this ->conveyor ->package ()),
133
+ $ this ->conveyor ->vendorKebab (),
134
+ $ this ->conveyor ->packageKebab (),
131
135
]);
132
136
133
137
if ($ this ->option ('i ' )) {
Original file line number Diff line number Diff line change @@ -52,6 +52,16 @@ public function vendorStudly()
52
52
return Str::studly ($ this ->vendor ());
53
53
}
54
54
55
+ /**
56
+ * Get the vendor name converted to kebab-case.
57
+ *
58
+ * @return string|RuntimeException
59
+ */
60
+ public function vendorKebab ()
61
+ {
62
+ return Str::kebab ($ this ->vendor ());
63
+ }
64
+
55
65
/**
56
66
* Set or get the package name.
57
67
*
@@ -81,6 +91,16 @@ public function packageStudly()
81
91
return Str::studly ($ this ->package ());
82
92
}
83
93
94
+ /**
95
+ * Get the package name converted to kebab-case.
96
+ *
97
+ * @return string|RuntimeException
98
+ */
99
+ public function packageKebab ()
100
+ {
101
+ return Str::kebab ($ this ->package ());
102
+ }
103
+
84
104
/**
85
105
* Download the skeleton package.
86
106
*/
You can’t perform that action at this time.
0 commit comments