Skip to content

Commit db97dc7

Browse files
committed
vaah cms
1 parent 807b070 commit db97dc7

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "webreinvent/vaahcmscore",
2+
"name": "webreinvent/vaahcms",
33
"description": "Laravel Based Rapid Development CMS Famework",
44
"keywords": ["laravel"],
55
"homepage": "https://www.webreinvent.com",
66
"license": "MIT",
77
"authors": [
88
{
9-
"name": "WebReinvent",
9+
"name": "Pradeep",
1010
"email": "[email protected]"
1111
}
1212
],
1313
"autoload": {
1414
"psr-4": {
15-
"WebReinvent\\VaahCmsCore\\": "src/"
15+
"WebReinvent\\VaahCms\\": "src/"
1616
}
1717
}
1818
}
File renamed without changes.

src/Http/Controllers/VaahCmsCoreController.php renamed to src/Http/Controllers/VaahCmsController.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?php
22

3-
namespace WebReinvent\VaahCmsCore\Controllers;
3+
namespace WebReinvent\VaahCms\Controllers;
44

55
use Illuminate\Http\Request;
66
use Illuminate\Http\Response;
77
use Illuminate\Routing\Controller;
88

9-
class VaahCmsCoreController extends Controller
9+
class VaahCmsController extends Controller
1010
{
1111
/**
1212
* Display a listing of the resource.
1313
* @return Response
1414
*/
1515
public function index()
1616
{
17-
return view('vaahcmscore::index');
17+
return view('vaahcms::index');
1818
}
1919

2020
/**
@@ -23,7 +23,7 @@ public function index()
2323
*/
2424
public function create()
2525
{
26-
return view('vaahcmscore::create');
26+
return view('vaahcms::create');
2727
}
2828

2929
/**
@@ -41,7 +41,7 @@ public function store(Request $request)
4141
*/
4242
public function show()
4343
{
44-
return view('vaahcmscore::show');
44+
return view('vaahcms::show');
4545
}
4646

4747
/**
@@ -50,7 +50,7 @@ public function show()
5050
*/
5151
public function edit()
5252
{
53-
return view('vaahcmscore::edit');
53+
return view('vaahcms::edit');
5454
}
5555

5656
/**

src/Routes/api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
|
1414
*/
1515

16-
Route::middleware('auth:api')->get('/vaahcmscore', function (Request $request) {
16+
Route::middleware('auth:api')->get('/vaahcms', function (Request $request) {
1717
return $request->user();
1818
});

src/Routes/web.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
|
1212
*/
1313

14-
Route::prefix('vaahcmscore')->group(function() {
15-
Route::get('/', 'VaahCmsCoreController@index');
14+
Route::prefix('vaahcms')->group(function() {
15+
Route::get('/', 'VaahCmsController@index');
1616
});

src/VaahCmsCore.php renamed to src/VaahCms.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
2-
namespace WebReinvent\VaahCmsCore;
2+
namespace WebReinvent\VaahCms;
33

44

55
/**
6-
* Class VaahCmsCore.
6+
* Class VaahCms.
77
*/
8-
class VaahCmsCore{
8+
class VaahCms{
99

1010
/**
1111
* Create new instance
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
2-
namespace WebReinvent\VaahCmsCore;
2+
namespace WebReinvent\VaahCms;
33
use Illuminate\Support\Facades\Facade;
44

55

6-
class VaahCmsCoreFacade extends Facade
6+
class VaahCmsFacade extends Facade
77
{
88
/**
99
* Get the registered name of the component.
@@ -12,6 +12,6 @@ class VaahCmsCoreFacade extends Facade
1212
*/
1313
protected static function getFacadeAccessor()
1414
{
15-
return 'vaahcmscore';
15+
return 'vaahcms';
1616
}
1717
}

src/VaahCmsCoreServiceProvider.php renamed to src/VaahCmsServiceProvider.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<?php namespace WebReinvent\VaahCmsCore;
1+
<?php namespace WebReinvent\VaahCms;
22

33
use Illuminate\Support\ServiceProvider;
44

5-
class VaahCmsCoreServiceProvider extends ServiceProvider {
5+
class VaahCmsServiceProvider extends ServiceProvider {
66

77
/**
88
* Indicates if loading of the provider is deferred.
@@ -48,23 +48,23 @@ public function provides() {
4848

4949
private function handleConfigs() {
5050

51-
$configPath = __DIR__ . '/Config/vaahcmscore.php';
51+
$configPath = __DIR__ . '/Config/vaahcms.php';
5252

53-
$this->publishes([$configPath => config_path('vaahcmscore.php')], 'config');
53+
$this->publishes([$configPath => config_path('vaahcms.php')], 'config');
5454

55-
$this->mergeConfigFrom($configPath, 'VaahCmsCore');
55+
$this->mergeConfigFrom($configPath, 'VaahCms');
5656
}
5757

5858
private function handleTranslations() {
5959

60-
$this->loadTranslationsFrom(__DIR__.'/Resources/lang', 'vaahcmscore');
60+
$this->loadTranslationsFrom(__DIR__.'/Resources/lang', 'vaahcms');
6161
}
6262

6363
private function handleViews() {
6464

65-
$this->loadViewsFrom(__DIR__.'/Resources/views', 'vaahcmscore');
65+
$this->loadViewsFrom(__DIR__.'/Resources/views', 'vaahcms');
6666

67-
$this->publishes([__DIR__.'/Resources/views' => base_path('resources/views/vendor/vaahcmscore')], 'views');
67+
$this->publishes([__DIR__.'/Resources/views' => base_path('resources/views/vendor/vaahcms')], 'views');
6868
}
6969

7070
private function handleMigrations() {

vaah-config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"vendor_name":"WebReinvent","package_name":"VaahCmsCore","description":"Laravel Based Rapid Development CMS Famework","homepage":"https://www.webreinvent.com","author_name":"WebReinvent","author_email":"[email protected]","vendor_name_lower":"webreinvent","package_name_lower":"vaahcmscore","namespace":"WebReinvent\\VaahCmsCore","year":"2019"}
1+
{"vendor_name":"WebReinvent","package_name":"VaahCms","description":"Laravel Based Rapid Development CMS Famework","homepage":"https://www.webreinvent.com","author_name":"Pradeep","author_email":"[email protected]","vendor_name_lower":"webreinvent","package_name_lower":"vaahcms","namespace":"WebReinvent\\VaahCms","year":"2019"}

0 commit comments

Comments
 (0)