我正在尝试在我新安装的laravel 5.5上安装voyager软件包,但我仍然保留着这个错误
(php 7.0.22,mysql版本14.14 Distrib 5.7.19,在ubuntu上)
jack@jo:~/Desktop/laravel$ php artisan voyager:install --with-dummy
Setting up the hooks
Hooks are now ready to use! Go ahead and try to "php artisan hook:install test-hook"
Publishing the Voyag
我安装了laravel 5.8,然后我做了composer require tcg/voyager:1.3.2。我没有使用composer require tcg/voyager,因为很明显它不支持laravel 5.8。然而,它总是出错并抛出这个问题: Problem 1
- Can only install one of: league/flysystem[1.1.3, 1.0.x-dev].
- Can only install one of: league/flysystem[1.0.x-dev, 1.1.3].
- Can only install one
我有航海家管理面板的laravel项目。现在,我需要在我的管理仪表板上看到商店产品的统计数据,但只从今天开始。所以它需要向我展示今天生产的所有产品,来计数并在我的dashboard.Let上展示它。展示我的代码:这是我的DeltaDimmer.php
<?php
namespace TCG\Voyager\Widgets;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Str;
use TCG\Voyager\Facades\Voyager;
use Carbon\Carbon;
use App\Storeon
我已经在App\FormField中使用这样的代码制作了一个laravel旅行者自定义格式字段为RangeFormFields。
<?php
namespace App\FormFields;
use TCG\Voyager\FormFields\AbstractHandler;
class RangeFormField extends AbstractHandler
{
protected $codename = 'range';
public function createContent($row, $dataType, $dataTy
我有一个关于Laravel5.7和Voyager的项目,有两个问题,第一个是当我运行php artisan route:list时,结果是:
ReflectionException : Class CustomerAccountController does not exist
at C:\wamp64\www\cell_marketplace\vendor\laravel\framework\src\Illuminate\Container\Container.php:779
实际上,这个类是存在的,我在另一个进程上使用它的函数,而且它正在工作,我检查了名称空间,运行了composer
我为我的项目使用了laravel 5.4,并安装了,它显示了一个错误。如何修复这些错误?
PHP version - PHP 5.6.31
Your requirements could not be resolved to an installable set of packages.
Problem 1
- tcg/voyager v1.1.0 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].
- tcg/voyager v1.1.1 requ
我使用的是laravel voyager软件包,需要更新菜单。尽管更新了component文件夹中的admin_menu.vue,但更改并未反映出来。另外,我运行以下命令: php artisan cache:clear
npm update
npm run watch-poll link of voyager package
我在一个扩展了Voyager模型的模型中定义了一个字段location作为空间。但我一直收到一台BadMethodCallException Call to undefined method TCG\Voyager\Models\User::getCoordinates() 当我试图拿到面包的时候。 以下是模型: <?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illumina
我想安装一个laravel包,-voyager版本1.3,所以当我运行这个cmd $ composer require tcg/voyager时,我总是得到这个错误,就是文件composer.json
Using version ^1.3 for tcg/voyager
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set o
我做了composer create-project laravel/laravel .和composer require tcg/voyager。我一直拿着这个。
Using version ^1.4 for tcg/voyager
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an in
当我试图导航到"/admin“时,我遇到了这个错误。其他路线,如"/employee“,运行良好。
这是我目前的网络路线
Auth::routes();
/* Voyager Routes */
Route::group(['prefix' => 'admin'], function () {
Voyager::routes();
...
});
/* Badge App Routes - All the dashboard routes for managers, employees and HRs are defined here