composer update
This commit is contained in:
12
vendor/laravel/tinker/README.md
vendored
12
vendor/laravel/tinker/README.md
vendored
@@ -17,20 +17,10 @@ To get started with Laravel Tinker, simply run:
|
||||
|
||||
composer require laravel/tinker
|
||||
|
||||
If you are using Laravel 5.5+, there is no need to manually register the service provider. However, if you are using an earlier version of Laravel, register the `TinkerServiceProvider` in your `app` configuration file:
|
||||
|
||||
```php
|
||||
'providers' => [
|
||||
// Other service providers...
|
||||
|
||||
Laravel\Tinker\TinkerServiceProvider::class,
|
||||
],
|
||||
```
|
||||
|
||||
## Basic Usage
|
||||
|
||||
From your console, execute the `php artisan tinker` command.
|
||||
|
||||
## License
|
||||
|
||||
Laravel Tinker is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
|
||||
Laravel Tinker is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
||||
|
15
vendor/laravel/tinker/config/tinker.php
vendored
15
vendor/laravel/tinker/config/tinker.php
vendored
@@ -2,6 +2,21 @@
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Console Commands
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option allows you to add additional Artisan commands that should
|
||||
| be available within the Tinker environment. Once the command is in
|
||||
| this array you may execute the command in Tinker using its name.
|
||||
|
|
||||
*/
|
||||
|
||||
'commands' => [
|
||||
// App\Console\Commands\ExampleCommand::class,
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Alias Blacklist
|
||||
|
@@ -54,7 +54,7 @@ class TinkerCommand extends Command
|
||||
$shell->addCommands($this->getCommands());
|
||||
$shell->setIncludes($this->argument('include'));
|
||||
|
||||
$path = $this->getLaravel()->basePath('vendor/composer/autoload_classmap.php');
|
||||
$path = $this->getLaravel()->basePath().DIRECTORY_SEPARATOR.'vendor/composer/autoload_classmap.php';
|
||||
|
||||
$loader = ClassAliasAutoloader::register($shell, $path);
|
||||
|
||||
|
Reference in New Issue
Block a user