4 months using cursor as PHP/web dev

Hey!

Just wanted to give feedback on my time using cursor the previous months. I mainly was using it for Astro, Laravel, Statamic, AlpineJs and VueJs.

Overall I am super hyped and whenever there is the chance, I recommend cursor to my peers.

The completionquality is always great and sometimes even scary… Just creating a new file, with a specific name is sometimes enough for it to suggest the whole block of code correctly, that I intended to write.

After getting used to it I really LOVE the jump-suggestion. It makes stuff so much quicker for me.

The chat-assistant is something I super rarely use, but that’s a preference-thing I guess.

One thing that is regulary really annoying is the fact that dumb autocompletes, that I had in VSCode, are missing here (are they surpressed to not get in the way?). One very regular example is usage of new classes within my PHP-Files. After using something the first time, it has to be imported (just like in Java or most other OOP-langs). In VSCode, having the right lang server installed, I could just CTRL + Enter while having my cursor at the the specifc classname and it would add the correct import on top of my file. Not only that this feature isnt there anymore, import-declarations are something that annoy me as AI-suggestions. They are unnescessary slow when compared to a local parser and really often suggest the wrong thing. → Actually that one was on my. I installed the wrong PHP extension :x

Overall, keep up the good work. Just wanted to share what I like, and the one thing I don’t… Maybe it’s just something misconfigured on my side and you can clear that up.

2 Likes

Hey there! Thanks for leaving your feedback. I was looking for PHP-specific feedback for Cursor and found this thread. I’ve also recently started using it and I am impressed so far.

Incidentally, I will most likely (attempt to) rebuild my blog with Statamic soon, and was wondering if you’d have any Statamic tips to share? E.g. extensions, workflows, whatever you find helps with Statamic development on Cursor

Hey (:

I found that using cursor without any extensions, works surprisingly well for me (except for class imports). My statamic instance uses antlers, and that also gets autocompleted really well, if your project already contains some references. I still installed the antlers-extension from stillat.

The only heads up I currently would point to is that cursor transmits hidden files to their servers by default :confused: Block access to credential files (*.env, *.env.local) to prevent AI exposure make sure to add your laravel envs to .cursorignore

1 Like

Thanks for the quick response, and good to know about you experience RE-Statamic.

And good shout for the security concern! I wasn’t aware of this :o