Fix namespacing / package name

This commit is contained in:
Barry vd. Heuvel
2013-03-10 10:28:10 +01:00
parent 6909c6131e
commit 7c46501145
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"name": "barryvdh/ide-helper", "name": "barryvdh/laravel-ide-helper",
"description": "", "description": "",
"authors": [ "authors": [
{ {
@@ -14,7 +14,7 @@
}, },
"autoload": { "autoload": {
"psr-0": { "psr-0": {
"Barryvdh\\IdeHelper": "src/" "Barryvdh\\LaravelIdeHelper": "src/"
} }
}, },
"minimum-stability": "dev" "minimum-stability": "dev"
+3 -3
View File
@@ -9,11 +9,11 @@ The file has been tested in PHPStorm 6.
Require this package in your composer.json: Require this package in your composer.json:
"barryvdh/ide-helper": "dev-master" "barryvdh/laravel-ide-helper": "dev-master"
And add the ServiceProvider to the providers array in app/config/app.php And add the ServiceProvider to the providers array in app/config/app.php
'Barryvdh\IdeHelper\IdeHelperServiceProvider', 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',
You can now re-generate the docs yourself (for future updates) in arisan You can now re-generate the docs yourself (for future updates) in arisan
@@ -21,7 +21,7 @@ You can now re-generate the docs yourself (for future updates) in arisan
You can also publish the config-file to add extra facades (ie. for bundles). You can also publish the config-file to add extra facades (ie. for bundles).
php artisan config:publish barryvdh/ide-helper php artisan config:publish barryvdh/laravel-ide-helper
You can just add the Facade and the 'real' class, like the rest of the classes. You can just add the Facade and the 'real' class, like the rest of the classes.
@@ -1,4 +1,4 @@
<?php namespace Barryvdh\IdeHelper; <?php namespace Barryvdh\LaravelIdeHelper;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
@@ -30,7 +30,7 @@ class GeneratorCommand extends Command {
{ {
$filename = $this->argument('filename'); $filename = $this->argument('filename');
$aliases = \Config::get('ide-helper::aliases'); $aliases = \Config::get('laravel-ide-helper::aliases');
$content = $this->parseDocBlocks($aliases); $content = $this->parseDocBlocks($aliases);
$written = \File::put($filename, $content); $written = \File::put($filename, $content);
@@ -51,7 +51,7 @@ class GeneratorCommand extends Command {
protected function getArguments() protected function getArguments()
{ {
return array( return array(
array('filename', InputArgument::OPTIONAL, 'The path to the helper file', \Config::get('ide-helper::filename')), array('filename', InputArgument::OPTIONAL, 'The path to the helper file', \Config::get('laravel-ide-helper::filename')),
); );
} }
@@ -1,4 +1,4 @@
<?php namespace Barryvdh\IdeHelper; <?php namespace Barryvdh\LaravelIdeHelper;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
@@ -18,7 +18,7 @@ class IdeHelperServiceProvider extends ServiceProvider {
*/ */
public function boot() public function boot()
{ {
$this->package('barryvdh/ide-helper'); $this->package('barryvdh/laravel-ide-helper');
} }
/** /**