# Path Config

Skeleton comes in with a whole lot of available customizations. One major customization is the paths config. This allows you to manually re-arrange Skeleton's directory structure to something you prefer. This means you can rearrange the whole of Skeleton and have all your files still map correctly.

<?php

return [
	'controllersPath' => 'controllers',

	'modelsPath' => 'models',

	'migrationsPath' => 'migrations',

	'seedsPath' => 'seeds',

	'factoriesPath' => 'factories',

	'helpersPath' => 'helpers',

	'viewsPath' => 'pages',

	'configPath' => 'config',

	'storagePath' => 'storage',

	'commandsPath' => 'console',

	'routesPath' => 'routes',

	'libPath' => 'lib',

	'publicPath' => '.',
];
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

These defined paths become available through global shortcut functions like viewsPath()