Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thesimons's avatar

thesimons started a new conversation+100 XP

4mos ago

Filament keeps timeout

Hello,

I'm dev mode locally using Herd Pro. I'm working with a pretty heavy panel powered by Filament 4.

I have tweaked the tweak-able things. I have max exec time at 300 seconds. But it keeps going timeout.

Any idea how to avoid it? I have hard this issue before but the solution was for Windows.

Thanks, Simom

thesimons's avatar

thesimons wrote a reply+100 XP

5mos ago

Alternative way to achieve this kind of validation

That's a good point! However this is the logic for panel into the "private area".

Many errors would "redundant". In example if new_password is missing, I just need to have an error saying "password missing". I don't need "password missing" and "passwords don't match".

thesimons's avatar

thesimons wrote a reply+100 XP

5mos ago

Alternative way to achieve this kind of validation

I have redacted the guard with a generic "foo" for privacy.

thesimons's avatar

thesimons started a new conversation+100 XP

5mos ago

Alternative way to achieve this kind of validation

Hello,

don't kill me please. I tried the Laravel "validation" style but I'm unable to get the same result for the following (dirty) code.

Basically I want to flash one error at time. Could you please suggest a cleaner approach?

Thanks Simon

thesimons's avatar

thesimons started a new conversation+100 XP

5mos ago

Refreshing a single table

Hello,

is there any migration command in order to refresh / reset a single table not the entire database?

During development I prefer to refactor migrations instead of adding new migration to add/delete/edit previous migrations.

Thanks, Simon

thesimons's avatar

thesimons wrote a reply+100 XP

5mos ago

thesimons's avatar

thesimons started a new conversation+100 XP

5mos ago

If you plan to update to PHP 8.5 your Laravel projects, don't do that (yet)

Hello,

Yesterday - while deploying a new server - I have the funny idea to install PHP8.5 just released.

As result for that I got a list of errors. I think it'd be better to give it few weeks before thinking about deploying in production.

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - brianium/paratest[v7.8.3, ..., v7.8.4] require php ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (8.5.0) does not satisfy that requirement.
    - brianium/paratest[v7.9.0, ..., v7.11.2] require php ~8.3.0 || ~8.4.0 -> your php version (8.5.0) does not satisfy that requirement.
    - pestphp/pest v3.8.2 requires brianium/paratest ^7.8.3 -> satisfiable by brianium/paratest[v7.8.3, ..., v7.14.2].
    - brianium/paratest v7.14.2 requires phpunit/phpunit ^12.4.1 -> satisfiable by phpunit/phpunit[12.4.1, 12.4.2, 12.4.3, 12.4.4].
    - brianium/paratest v7.14.1 requires phpunit/phpunit ^12.4.0 -> satisfiable by phpunit/phpunit[12.4.0, ..., 12.4.4].
    - brianium/paratest v7.14.0 requires phpunit/phpunit ^12.3.15 -> satisfiable by phpunit/phpunit[12.3.15, ..., 12.4.4].
    - brianium/paratest v7.13.0 requires phpunit/phpunit ^12.3.9 -> satisfiable by phpunit/phpunit[12.3.9, ..., 12.4.4].
    - brianium/paratest v7.12.0 requires phpunit/phpunit ^12.3.6 -> satisfiable by phpunit/phpunit[12.3.6, ..., 12.4.4].
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.4.4.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.14.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.13.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.12.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.11.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.10.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.8.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.7.
    - pestphp/pest v3.8.2 conflicts with phpunit/phpunit 12.3.6.
    - pestphp/pest-plugin-laravel v3.2.0 requires pestphp/pest ^3.8.2 -> satisfiable by pestphp/pest[v3.8.2, v3.8.3, v3.8.4].
    - Conclusion: don't install pestphp/pest v3.8.3 (conflict analysis result)
    - Conclusion: don't install pestphp/pest v3.8.4 (conflict analysis result)
    - Root composer.json requires pestphp/pest-plugin-laravel ^3.2 -> satisfiable by pestphp/pest-plugin-laravel[v3.2.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Thanks, Simon