Skip to content

Commit

Permalink
Migrated to the new namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido Contreras Woda committed Feb 12, 2015
1 parent e35cf25 commit 3d6bb5c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ As usual, include the `ServiceProvider` in your `config/app.php` file like so:
```php
'providers' => [
// ...
GuiWoda\RouteBinder\RouteBinderServiceProvider::class,
LaravelBA\RouteBinder\RouteBinderServiceProvider::class,
// ...
]
```

Then, publish the package's configuration:

```bash
php artisan vendor:publish --provider="GuiWoda\RouteBinder\RouteBinderServiceProvider"
php artisan vendor:publish --provider="LaravelBA\RouteBinder\RouteBinderServiceProvider"
```

Afterwards, you'll need to create some classes that implement the `GuiWoda\RouteBinder\RouteBinder` interface.
Afterwards, you'll need to create some classes that implement the `LaravelBA\RouteBinder\RouteBinder` interface.
Don't panic! You'll see it's a piece of cake:

```php
namespace App\Http\Routes;

use GuiWoda\RouteBinder\RouteBinder;
use LaravelBA\RouteBinder\RouteBinder;
use Illuminate\Contracts\Routing\Registrar;

class FooRouteBinder implements RouteBinder
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "guiwoda/route-binder",
"name": "laravelba/route-binder",
"description": "Laravel route binding, done right.",
"autoload": {
"psr-4": {
"GuiWoda\\RouteBinder\\": "src/"
"LaravelBA\\RouteBinder\\": "src/"
}
},
"autoload-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/RouteBinder.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace GuiWoda\RouteBinder;
<?php namespace LaravelBA\RouteBinder;

use Illuminate\Contracts\Routing\Registrar;

Expand Down
2 changes: 1 addition & 1 deletion src/RouteBinderServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace GuiWoda\RouteBinder;
<?php namespace LaravelBA\RouteBinder;

use Illuminate\Contracts\Config\Repository;
use Illuminate\Contracts\Routing\Registrar;
Expand Down
4 changes: 2 additions & 2 deletions tests/RouteBinderServiceProviderTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace Tests;

use GuiWoda\RouteBinder\RouteBinder;
use GuiWoda\RouteBinder\RouteBinderServiceProvider;
use LaravelBA\RouteBinder\RouteBinder;
use LaravelBA\RouteBinder\RouteBinderServiceProvider;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Routing\Registrar as Router;
Expand Down

0 comments on commit 3d6bb5c

Please sign in to comment.