Skip to content

Commit

Permalink
changed vendor 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairahcaz committed Sep 23, 2022
1 parent 470f3ff commit 24df9d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Middleware/XHProfMiddleware.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sairahcaz\LaravelXhprof\Middleware;
namespace LaracraftTech\LaravelXhprof\Middleware;

use Closure;
use Exception;
Expand Down
8 changes: 4 additions & 4 deletions src/XHProfServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Sairahcaz\LaravelXhprof;
namespace LaracraftTech\LaravelXhprof;

use Illuminate\Contracts\Http\Kernel;
use Illuminate\Support\ServiceProvider;
use Sairahcaz\LaravelXhprof\Middleware\XHProfMiddleware;
use LaracraftTech\LaravelXhprof\Middleware\XHProfMiddleware;

class XHProfServiceProvider extends ServiceProvider
{
Expand Down Expand Up @@ -32,13 +32,13 @@ public function boot()
protected function bootForConsole()
{
// Publishing the configuration file.
//php artisan vendor:publish --provider="Sairahcaz\LaravelXhprof\XHProfServiceProvider" --tag="config"
//php artisan vendor:publish --provider="LaracraftTech\LaravelXhprof\XHProfServiceProvider" --tag="config"
$this->publishes([
__DIR__ . '/../config/config.php' => config_path('xhprof.php'),
], 'config');

// Publishing the migrations.
//php artisan vendor:publish --provider="Sairahcaz\LaravelXhprof\XHProfServiceProvider" --tag="migrations"
//php artisan vendor:publish --provider="LaracraftTech\LaravelXhprof\XHProfServiceProvider" --tag="migrations"
if (! class_exists('CreateXHProfTable')) {
$this->publishes([
__DIR__ . '/../database/migrations/create_xhprof_table.php.stub' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_xhprof_table.php'),
Expand Down

0 comments on commit 24df9d3

Please sign in to comment.