composer update

This commit is contained in:
Manish Verma
2018-12-05 10:50:52 +05:30
parent 9eabcacfa7
commit 4addd1e9c6
3328 changed files with 156676 additions and 138988 deletions

View File

@@ -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).

View File

@@ -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

View File

@@ -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);