forked from Laravel-Backpack/addon-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrewriteRules.php
More file actions
18 lines (17 loc) · 734 Bytes
/
Copy pathrewriteRules.php
File metadata and controls
18 lines (17 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
// These rules are followed when using the Jeroen-G/laravel-packager tool.
// When you run `php artisan packager:new` it will loop through the
// rules below and replace the filenames according to them.
//
// Available placeholders:
// - :uc:vendor, :uc:package - UpperCase aka StudlyCase
// - :lc:vendor, :lc:package - lowercase
// - :kc:vendor, :kc:package - kebab-case
//
// You do NOT need this file in your Backpack addon, only in skeletons.
// So it's safe to delete once you've created your Backpack addon.
return [
'config/mypackage.php' => 'config/:kc:package.php',
'routes/mypackage.php' => 'routes/:kc:package.php',
'src/resources/lang/en/mypackage.php' => 'src/resources/lang/en/:kc:package.php',
];