Elías Culqui
Does anyone know how to fix this error "ERROR Command "filament:optimize" is not defined"?
No, but now yes.
php artisan about --only=filament
Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version ................................................................................................................................... v3.2.0
Views .............................................................................................................................. NOT PUBLISHED
46 replies
Does anyone know how to fix this error "ERROR Command "filament:optimize" is not defined"?
php artisan about --only=filament
Filament .........................................................................................................................................Packages ......................................................................................... filament, forms, notifications, support, tables
Version ................................................................................................................................... v3.0.0
Views .............................................................................................................................. NOT PUBLISHED
46 replies
Does anyone know how to fix this error "ERROR Command "filament:optimize" is not defined"?
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^8.1",
"filament/filament": "3.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan filament:upgrade"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"branch-alias": {
"dev-master": "10.x-dev"
},
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}
46 replies
Does anyone know how to fix this error "ERROR Command "filament:optimize" is not defined"?
Yes I have v3
php artisan filament
Laravel Framework 10.48.25
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands for the "filament" namespace:
filament:assets Set up Filament assets.
filament:check-translations Check for missing and removed translations
filament:install Install Filament.
filament:upgrade Upgrade Filament to the latest version46 replies