mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
Fix namespacing / package name
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "barryvdh/ide-helper",
|
||||
"name": "barryvdh/laravel-ide-helper",
|
||||
"description": "",
|
||||
"authors": [
|
||||
{
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Barryvdh\\IdeHelper": "src/"
|
||||
"Barryvdh\\LaravelIdeHelper": "src/"
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev"
|
||||
|
||||
@@ -9,11 +9,11 @@ The file has been tested in PHPStorm 6.
|
||||
|
||||
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
|
||||
|
||||
'Barryvdh\IdeHelper\IdeHelperServiceProvider',
|
||||
'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',
|
||||
|
||||
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).
|
||||
|
||||
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.
|
||||
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
<?php namespace Barryvdh\IdeHelper;
|
||||
<?php namespace Barryvdh\LaravelIdeHelper;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
@@ -30,7 +30,7 @@ class GeneratorCommand extends Command {
|
||||
{
|
||||
$filename = $this->argument('filename');
|
||||
|
||||
$aliases = \Config::get('ide-helper::aliases');
|
||||
$aliases = \Config::get('laravel-ide-helper::aliases');
|
||||
$content = $this->parseDocBlocks($aliases);
|
||||
|
||||
$written = \File::put($filename, $content);
|
||||
@@ -51,7 +51,7 @@ class GeneratorCommand extends Command {
|
||||
protected function getArguments()
|
||||
{
|
||||
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')),
|
||||
);
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
<?php namespace Barryvdh\IdeHelper;
|
||||
<?php namespace Barryvdh\LaravelIdeHelper;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
@@ -18,7 +18,7 @@ class IdeHelperServiceProvider extends ServiceProvider {
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->package('barryvdh/ide-helper');
|
||||
$this->package('barryvdh/laravel-ide-helper');
|
||||
}
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user