Open pxlrbt opened 6 months ago
I had tried to do that, I just needed a little bit more costimizability in the form of the tinker console scratch file type. I'm not happy with the implementation yet tho - I want the files to be "per project" and the way it's now it's not per project. So, I might ditch scratch files all together at some point.
How about having a .tinker
directory etc. inside each project and whatever php files are in this directory should be tinker executable?
This will also make it easier to have custom filenames.
An interesting idea, however, that would "dirty" your folder. Maybe add in to the idea folder. Or, even better, make it customizable.
@Roboroads Why do you consider it "dirty", it should be added to .gitignore
maybe even include a gitignore file by default when creating the directory
I specifically do want to see it in the directory so I can see all saved snippets and select the file I want to tinker with.
Having it in the idea folder will make it again invisible.
This issue has been automatically marked as stale because it has not had recent activity. This means this issue is resolved or nobody else has had this issue or feature request. It will be closed if no further activity occurs within 30 days, so if this is still relevant, please let us know!
+1, it would be great to be able to have a tinker console per project.
Related problem
No response
My ideal solution
I see you moved the the Tinker Console to "Scratches and Consoles" with https://github.com/Roboroads/laravel-tinker/issues/39. Is there a reason why we need a separate "Console" and can't just run PHP scratch files?
Considered alternatives
No response
Additional context
No response
Intentions