示例#1
0
文件: themes.php 项目: zedx/core
<?php

return ['path' => base_path() . '/' . 'themes', 'stubs' => ['path' => core_src_path() . '/Console/Commands/Theme/stubs', 'files' => ['json' => 'zedx.json'], 'replacements' => ['json' => ['STUDLY_NAME', 'LOWER_NAME']]]];
示例#2
0
 /**
  * Define the routes for the application.
  *
  * @param  \Illuminate\Routing\Router  $router
  *
  * @return void
  */
 public function map(Router $router)
 {
     $router->group(['namespace' => $this->namespace], function ($router) {
         require core_src_path('Http/routes.php');
     });
 }
示例#3
0
文件: widgets.php 项目: zedx/core
<?php

return ['namespace' => 'ZEDx\\Widgets', 'path' => base_path() . '/' . 'widgets', 'stubs' => ['path' => core_src_path() . '/Console/Commands/Widget/stubs', 'folders' => ['views', 'assets'], 'files' => ['json' => 'zedx.json', 'views/index' => 'views/index.blade.php', 'views/setting' => 'views/setting.blade.php', 'widget' => 'Widget.php'], 'replacements' => ['views/index' => ['STUDLY_NAME'], 'json' => ['STUDLY_TYPE', 'LOWER_TYPE', 'STUDLY_NAME', 'STUDLY_AUTHOR', 'LOWER_NAME'], 'widget' => ['LOWER_TYPE', 'LOWER_AUTHOR', 'LOWER_NAME', 'STUDLY_TYPE', 'STUDLY_AUTHOR', 'STUDLY_NAME']]], 'paths' => ['widgets' => base_path('widgets'), 'assets' => public_path('widgets')]];
示例#4
0
文件: modules.php 项目: zedx/core
<?php

return ['namespace' => 'ZEDx\\Modules', 'stubs' => ['path' => core_src_path() . '/Console/Commands/Module/stubs', 'files' => ['start' => 'start.php', 'routes' => 'Http/routes.php', 'json' => 'zedx.json', 'views/backend-index' => 'Resources/views/backend/index.blade.php', 'views/backend-config' => 'Resources/views/backend/config.blade.php', 'views/index' => 'Resources/views/index.blade.php', 'views/master' => 'Resources/views/layouts/master.blade.php', 'scaffold/config' => 'Config/config.php', 'scaffold/module' => 'Module.php', 'composer' => 'composer.json', 'screenshot.png' => 'screenshot.png', 'task' => 'task.js'], 'replacements' => ['start' => ['LOWER_NAME'], 'routes' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], 'json' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], 'views/backend-index' => ['LOWER_NAME'], 'views/backend-config' => ['LOWER_NAME'], 'views/index' => ['LOWER_NAME'], 'views/master' => ['STUDLY_NAME'], 'scaffold/config' => ['STUDLY_NAME'], 'scaffold/module' => ['LOWER_NAME', 'STUDLY_NAME'], 'composer' => ['LOWER_NAME', 'STUDLY_NAME', 'VENDOR', 'AUTHOR_NAME', 'AUTHOR_EMAIL', 'MODULE_NAMESPACE']]], 'paths' => ['modules' => base_path('modules'), 'assets' => public_path('modules'), 'generator' => ['distAssets' => 'Resources/assets/dist', 'srcAssets' => 'Resources/assets/src', 'config' => 'Config', 'command' => 'Console', 'migration' => 'Database/Migrations', 'model' => 'Models', 'repository' => 'Repositories', 'seeder' => 'Database/Seeders', 'controller' => 'Http/Controllers', 'filter' => 'Http/Middleware', 'request' => 'Http/Requests', 'provider' => 'Providers', 'lang' => 'Resources/lang', 'views' => 'Resources/views', 'test' => 'Tests', 'widgetFrontend' => 'Widgets/Frontend', 'widgetBackend' => 'Widgets/Backend']], 'composer' => ['vendor' => 'ZEDx', 'author' => ['name' => 'Amine OUDJEHIH', 'email' => '*****@*****.**']]];