Robbin "Roboroads" Schepers
Robbin "Roboroads" Schepers
Please check the [the FAQ](https://github.com/Roboroads/laravel-tinker/issues/250) and see if that solves your problem. Sounds like an interpreter thing.
Hmmmmmmmmmmmmm, yea I could see that being a problem. Should detect if the file `vendor/laravel/framework/conposer.json` exists maybe instead. Or indeed, check the lockfile (if that's an easier option, idk..)
I have a [template](https://github.com/Roboroads/electron-vite-sveltekit) which got it working on dev, but compiling it to an executable gives me an error that it needs an index.html. ``` The following Vite config...
You both are not executing through the tinker plugin, but running the PHP script as a simple PHP script. The tinker plugin adds the autoloader and laravel inits etc. to...
I added a header for this issue in the FAQ in https://github.com/Roboroads/laravel-tinker/issues/250
Could you give me exact versions? As tinker 2.5 is not valid for psysh ^0.11.1 and laravel 8.0 does not work with PHP 8.0
I just tested this on the following environment - guessing you copied the versions from composer.json and not the actual installed versions: - Windows 10 - PHPStorm 2024.1.4 - PHP...
@hesammoosapour for your first one, don't return or print. Do it like you would with Tinker: ```php
Currenty - I am not using Trend for this specific one, just created my own mysql query since mysql is faster at aggregating; ```php Mutation::query() ->toBase() ->select([ DB::raw('EXTRACT(YEAR_MONTH FROM created_at)...