upgrade v2 to v3

Problem 1 - Root composer.json requires filament/filament ^3.2 -> satisfiable by filament/filament[v3.2.0, ..., 3.x-dev]. - Only one of these can be installed: illuminate/view[dev-master, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v9.38.0, ..., 9.x-dev]. laravel/framework replaces illuminate/view and thus cannot coexist with it. - Conclusion: install illuminate/view v10.43.0 (conflict analysis result) - Root composer.json requires laravel/framework ^v9.38.0 -> satisfiable by laravel/framework[v9.38.0, ..., 9.x-dev].
4 Replies
awcodes
awcodes4mo ago
v3 requires laravel 10. You’ll need to upgrade that before upgrading Filament.
tarifss
tarifss4mo ago
after composer update completed then getting this error PHP Fatal error: Type of App\Filament\Resources\Product\ProductResource\Pages\CreateProduct::$attributes must be Livewire\Features\SupportAttributes\AttributeCollection (as in class Livewire\Component) in /var/www/html/app/Filament/Resources/Product/ProductResource/Pages/CreateProduct.php on line 22 Symfony\Component\ErrorHandler\Error\FatalError Type of App\Filament\Resources\Product\ProductResource\Pages\CreateProduct::$attributes must be Livewire\Features\SupportAttributes\AttributeCollection (as in class Livewire\Component)
awcodes
awcodes4mo ago
You’re also going to need to upgrade any plugins too.
Want results from more Discord servers?
Add your server
More Posts
Filament Multi-Tenant without Laravel Spark ?Hello Filament Team, Is there a possibility to make a multi tenant app by using something else thaHow to number the data in the table?For example when I have 10 values ​​in the table with id from 11 to 20, how do I display the number Question about project filament and seed withProgressBarHi all! In the seeder file using method [withProgressBar](https://github.com/filamentphp/demo/blob/bThe POST method is not supported for route login. Supported methods: GET, HEAD.Hi guys! I am deploying a Laravel FilamanetPHP app in my VPS and after I login in show me this errorTrimStrings Middleware is not working?I add the TrimStrings middleware in the middleware method in the config of the panel, but it does noUpdate field state every time other field updated without using $set()I want to make my field (e.g total) updated every time I change other fields (e.g tax, price, discouget new repeater item only filament when editingI want to decrease user balance everytime they order. This is what I did ```php protected functiConditional 3rd Step in Wizard (Button Doesn't Change from Create to Next, or vice versa).I have a toggle component in step 2, when if toggled on, makes step 3 visible. This works fine usinghow to access current record in form function of Resource file```php class OrderResource extends Resource { protected static ?string $model = Order::class; Rename Resource label on the sidebar and all crud page resourcesI want to rename the label of the resource on the side bar and on all other pages like view , edit