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
MatthewOP4mo ago
LeandroFerreira
LeandroFerreira4mo 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 Koch4mo ago
Composer still installs to the vendor folder. It should symlink the files from the other folder.
Matthew
MatthewOP4mo ago
And where exactly do I add this? in the root json keys? as in, level 1
LeandroFerreira
LeandroFerreira4mo ago
"repositories": [
{
"type": "path",
"url": "filament/packages/*",
"options": {
"symlink": true
}
}]
"repositories": [
{
"type": "path",
"url": "filament/packages/*",
"options": {
"symlink": true
}
}]
Matthew
MatthewOP4mo ago
Lara Zeus
Lara Zeus4mo ago
delete the composer lock file AND the vendor folder then run composer update sometimes it's cached
Matthew
MatthewOP4mo ago
Nope, even after that and running Nope, even after that and running composer clear-cache`, it still didnt work :/
Lara Zeus
Lara Zeus4mo ago
whats is in the folder ./filament? sure there is the full packges files?!
Matthew
MatthewOP4mo 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
MatthewOP4mo ago
No description
Matthew
MatthewOP4mo ago
No description
Matthew
MatthewOP4mo ago
Fixed it by clearing the cache again. Thanks 🙂
Want results from more Discord servers?
Add your server