barryvdh
Repos
286
Followers
5684
Following
15

Laravel Debugbar (Integrates PHP Debug Bar)

14467
1366

Laravel IDE Helper

12605
1063

Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application

6140
600

A toolbar for Laravel Telescope, based on the Symfony Web Profiler.

717
29

A framework agnostic, multi-gateway payment processing library for PHP 5.6+

5624
869

Debug bar for PHP

3999
362

Events

Created at 2 days ago
Bring the package up to date with CSS3!

Describe the bug There is no support for CSS3 features, like border-box, flexbox, grid, etc. This is very annoying, since CSS3 is the most used version of CSS.

To Reproduce Steps to reproduce the behavior:

  • Laravel 9.22, package version 2
  • No alternations to options.
Created at 1 week ago
Created at 1 week ago

Add support for CastsInboundAttributes (#1329)

  • Add support for CastsInboundAttributes

  • Update changelog

Co-authored-by: Simon Verwaard simon@bttr.nl

Created at 2 weeks ago
pull request closed
Add support for CastsInboundAttributes

Summary

This PR adds support for custom cast classes that implement the CastsInboundAttributes interface ( https://laravel.com/docs/9.x/eloquent-mutators#inbound-casting). Currently the Cast class will incorrectly end up as return value of the attribute.

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update
  • [ ] Misc. change (internal, infrastructure, maintenance, etc.)

Checklist

  • [x] Existing tests have been adapted and/or new tests have been added
  • [x] Add a CHANGELOG.md entry
  • [ ] Update the README.md
  • [x] Code style has been fixed via composer fix-style
Created at 2 weeks ago
uu

iu

Created at 2 weeks ago
pp
Created at 2 weeks ago
started
Created at 2 weeks ago
barryvdh create tag v1.18.1
Created at 3 weeks ago
started
Created at 3 weeks ago
issue comment
Hanging task in pending section

Duplicate of https://github.com/laravel/horizon/issues/1015 https://github.com/laravel/horizon/issues/1060 https://github.com/laravel/horizon/issues/1034

Did you solve this?

Created at 3 weeks ago
issue comment
[5.x] Enable fast termination by default

I guess ideally the number of processes wouldn't exceed the configuration. So if the old process (eg a 'queue-long' worker) is running, it should start the new Horizon supervisor with the workers, minus the ones still running on the old supervisor, until that one is also finished.

BTW, thanks for this. Didn't realize this option existed. Ran into this a few times when the default queue wasn't restarting because a single longrunning task was processing.

Created at 4 weeks ago
Compatable with Magento 2.4.5 and php 8.1

I think so

Created at 1 month ago
I don't care about the class, it's not worth your shit

This is just a Dompdf wrapper! I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  • Laravel and package version
  • Input HTML/CSS
  • Options / code

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Created at 1 month ago
issue comment
I don't care about the class, it's not worth your shit

?

Created at 1 month ago

Add files via upload

Created at 1 month ago
create repository
barryvdh create repository
Created at 1 month ago
create branch
barryvdh create branch main
Created at 1 month ago
barryvdh delete branch fix-null-body
Created at 1 month ago
pull request closed
[4.x] Check if body is not null (eg. GET request)

Prevent 400 Bad Request when completing the payment. Mollie response: Your client has issued a malformed or illegal request. which results in a JSON parse error: Omnipay\Common\Exception\RuntimeException: Unable to parse response body into JSON: 4 in ...

Response from Mollie (translated)

The V1 API has not changed, but the loadbalancer now rejects GET requests with a body. Make sure your client sends GET requests without body.

This affects 4.x branch, which isn't the current branch, but still problematic for older projects.

Created at 1 month ago

Check if body is not null

Merge pull request #87 from thephpleague/fix-null-body

[4.x] Check if body is not null (eg. GET request)

Created at 1 month ago
pull request opened
[4.x] Check if body is not null (eg. GET request)

Prevent 400 Bad Request when completing the payment. Mollie response: Your client has issued a malformed or illegal request. which results in a JSON parse error: Omnipay\Common\Exception\RuntimeException: Unable to parse response body into JSON: 4 in ...

Response from Mollie (translated)

The V1 API has not changed, but the loadbalancer now rejects GET requests with a body. Make sure your client sends GET requests without body.

This affects 4.x branch, which isn't the current branch, but still problematic for older projects.

Created at 1 month ago
barryvdh create branch fix-null-body
Created at 1 month ago

Fix database name (#1364)

Co-authored-by: Simon Verwaard simon@bttr.nl

Created at 1 month ago
pull request closed
Fix database name in ModelsCommand

The models command is broken due to the last commit in https://github.com/barryvdh/laravel-ide-helper/pull/1349. The getName method returns the connection name instead of the database name.

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update
  • [ ] Misc. change (internal, infrastructure, maintenance, etc.)

Checklist

  • [ ] Existing tests have been adapted and/or new tests have been added
  • [ ] Add a CHANGELOG.md entry
  • [ ] Update the README.md
  • [ ] Code style has been fixed via composer fix-style
Created at 1 month ago
Fix database name in ModelsCommand

Nevermind, that was a previous PR

Created at 1 month ago
Fix database name in ModelsCommand

Any ideas why the test is failing?

Created at 1 month ago
Model methods are missing with `--write-mixin`

Versions:

  • ide-helper Version: 2.12.3
  • Laravel Version: 9.9.0
  • PHP Version: 8.1.3

Description:

Model methods are missing when using --write-mixin

| With --write-mixin | Without --write-mixin | |---|---| | | |

Basic model methods like find appear to be missing when using --write-mixin. They work correctly without --write-mixin

I've reproduced the following steps in this repo: https://github.com/ptrkcsk/laravel-ide-helper-models

There are two differences in _ide_helper_models.php between using --write-mixin and not, as seen here: https://github.com/ptrkcsk/laravel-ide-helper-models/compare/write-mixin...no-write-mixin

  1. The generated class has @mixin IdeHelperUser. This looks like a mistake to me because IdeHelperUser appears to not exist
  2. The generated class extends \Eloquent. I suspect this is the problem, because with --write-mixin, the generated class is missing the methods provided by \Eloquent

Steps To Reproduce:

  1. Generate facades helper and models helper with --write-mixin:

    vendor/bin/sail artisan ide-helper:generate
    vendor/bin/sail artisan ide-helper:models --write-mixin
    
  2. Try to use a model's find method, e.g. User::find(). Notice "Method 'find' not found..." warning in IDE

  3. Re-generate models helper without --write-mixin:

    vendor/bin/sail artisan ide-helper:models
    
  4. Try to use a model's find method again. Notice find method is now found

Created at 1 month ago