-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate in favor of artisan tinker #39
Comments
Laravel Console was an indispensable part of my dev process in L4. |
What? We tried to make it better?
That's still possible in tinker in L5. |
Definitely not a dig at you @GrahamCampbell. L5 is a much better experience overall for me compared to L4. I definitely appreciate the work you all put into L5. I think my initial impressions were based on tinker closing (crashing?) after running some code when I first started with L5 after its official release. It got me frustrated, I ditched it, and found another way to solve my issue. More than anything, I like how Console had everything laid out in a nice UI. You could quickly see SQL queries, query speed, etc. This probably the intended use case, but I used Console for experimenting: playing around with functions I've never used, trying to get a certain output with a specific input, breaking down code that had many steps in it to debug, etc. I'm fairly new to coding in an framework and with PHP (~1.5 years), and my background is not coding. I just did things in ways that were easiest for me. Console was super convenient, so I avoided |
@GrahamCampbell yah. How do you work with queries in tinker? :) I'd like to know how to:
in the most simple way. |
Hi there,
It is a quick comparison to tell you why. I hope you keep development it and even add some more awesome features like autocomplete and basic syntax error check. P/S: I have has make some modification for local package to keep console work with L5, still has some issues but at least it's working 🎱 |
@tiger2wander Well written 👏 |
Ok. I'll be soon revisiting Laravel so I'll update this. I'd also love to add some contributors, but first I want to rewrite front-end, as currently it's a turd on a jQuery plate :) |
@darsain I thought the UI worked just fine. Never had any issues at all. Really liked the color scheme as well. |
@pauly4it yeah, but the code is horrible. It used to be a one-liner, and than evolved into a kinda more complexish app without any structural changes. Needs a rewrite. The UI or how it works won't change. |
+1 would love to see a L5 version of console. I use it all the time to copy/paste & test snippets of code. I'd be happy to help on the backend part/L5 integration of the code if you need. |
It works fine on windows. I use windows evrey day. |
@GrahamCampbell Really? Sometimes PsySH crashes for no reason and shell history doesn't persist across sessions. echo "é"; It returns |
+1 for L5 version of console. Sometimes shell is not available on remote host, sometimes web UI is more convenient. |
@plakhin 👍 for your comment 😼 |
@plakhin Thanks, I already starred this repo some times ago 😄 |
When I created this, there was nothing better to use, but now (and apparently some time in L4 too), there is
artisan tinker
which is a core component of Laravel, and provides the same kind of functionality. You can run code from your app context with all files loaded, you have access to your models, you can run ORM queries...With that in mind, I think I'd rather deprecate this project in favor of tinker.
But, I'm not using Laravel right now, and have no tinker experience, so if there is anyone in here that does, and has a valid reason why this shouldn't be deprecated, speak up :)
The text was updated successfully, but these errors were encountered: