F
Filamentβ€’4w ago
ffffer.

V4 needed

Hi, I need to use the V4, because I need to develop tables getting the data from a service rather than a model. It's not a production project right now, but updating now to current v4 branch will allow me continue developing. It's possible use the v4 branch now? I have tried to install but I didn't get running, mainly: Problem 1 - Root composer.json requires filament/filament 4.x-dev (exact version match), found filament/filament[dev-3.x-alpha, v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint. Btw, it's there docs for v4? Thanks and sorry eagerness πŸ™‚
4 Replies
Dennis Koch
Dennis Kochβ€’4w ago
People got external APIs working via the Sushi package from Caleb. We can't give any support for v4 in the current state. The docs are next to the code in the vendor folders but may not be 100% up to date
Dhru
Dhruβ€’4w ago
this is the package dennis is referring to it will let you https://github.com/calebporzio/sushi but under the hood it is just making a sqllite database
GitHub
GitHub - calebporzio/sushi: Eloquent's missing "array" driver.
Eloquent's missing "array" driver. Contribute to calebporzio/sushi development by creating an account on GitHub.
πŸ…Έ πŸ…°πŸ…Ό πŸ…³πŸ…°πŸ…³πŸ…ΌπŸ…ΈπŸ…½
If you absolutely have to use it, you could set the filament github as a manual β€œvcs” repository in composer.json or fork the v4 dev branch only to your own GitHub repository and add that as the vcs source so there’s literally just the one branch to install. Then it would be a case of synching upstream regularly.
ffffer.
ffffer.OPβ€’4w ago
Ok, thanks, I'll try con VCS. Maybe another temp option could be a MySQL view linked in a model. I tried Sushi, but where are many records, it's slow and at the end it's not a solution.

Did you find this page helpful?