<?php

namespace EGALL\Transformer;

use Illuminate\Support\ServiceProvider;
use EGALL\Transformer\Contracts\Transformer as TransformerContract;

/**
 * Transformer service provider.
 *
 * @package EGALL\Transformer
 * @author Erik Galloway <erik@mybarnapp.com>
 */
class TransformerServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind(TransformerContract::class, Transformer::class);
    }
}

<?php

namespace App\Providers;

use EGALL\Transformer\Contracts\Transformer as TransformerContract;
use EGALL\Transformer\Transformer;
use Illuminate\Support\ServiceProvider;

class TransformerServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind(TransformerContract::class, Transformer::class);
    }
}

--- 
+++ 
@@ -1,11 +1,16 @@
 <?php
 
-namespace App\Providers;
+namespace EGALL\Transformer;
 
+use Illuminate\Support\ServiceProvider;
 use EGALL\Transformer\Contracts\Transformer as TransformerContract;
-use EGALL\Transformer\Transformer;
-use Illuminate\Support\ServiceProvider;
 
+/**
+ * Transformer service provider.
+ *
+ * @package EGALL\Transformer
+ * @author Erik Galloway <erik@mybarnapp.com>
+ */
 class TransformerServiceProvider extends ServiceProvider
 {
     /**
Update the transformer service provider to use the correct namespace
