filament contribution

Based off the guide https://filamentphp.com/docs/3.x/support/contributing I want to install filament locally so I can make a PR for it. However, despite cloning into the root directory of the laravel app and updating composer.json, filament is still installed in vendor
No description
13 Replies
Matthew
MatthewOP5mo ago
LeandroFerreira
LeandroFerreira5mo ago
I think Composer copies the repository into the vendor folder. If you don’t want this behavior, you could try to create a symlink instead of a copy...
"options": {
"symlink": true
}
"options": {
"symlink": true
}
Dennis Koch
Dennis Koch5mo ago
Composer still installs to the vendor folder. It should symlink the files from the other folder.
Matthew
MatthewOP5mo ago
And where exactly do I add this? in the root json keys? as in, level 1
LeandroFerreira
LeandroFerreira5mo ago
"repositories": [
{
"type": "path",
"url": "filament/packages/*",
"options": {
"symlink": true
}
}]
"repositories": [
{
"type": "path",
"url": "filament/packages/*",
"options": {
"symlink": true
}
}]
Matthew
MatthewOP5mo ago
Lara Zeus
Lara Zeus5mo ago
delete the composer lock file AND the vendor folder then run composer update sometimes it's cached
Matthew
MatthewOP5mo ago
Nope, even after that and running Nope, even after that and running composer clear-cache`, it still didnt work :/
Lara Zeus
Lara Zeus5mo ago
whats is in the folder ./filament? sure there is the full packges files?!
Matthew
MatthewOP5mo ago
Ah I fixed it. I changed the path of filament, and forgot to add /packages/* 😅 Thanks. Now I will see if changes are reflected Still doesnt work @Lara Zeus. If I delete the repeater view files, I can still see them
Matthew
MatthewOP5mo ago
No description
Matthew
MatthewOP5mo ago
No description
Matthew
MatthewOP5mo ago
Fixed it by clearing the cache again. Thanks 🙂
Want results from more Discord servers?
Add your server