using prompt engineering techniques provide enhancement to the Gemini service class in the Gemini prompt class, creating functions commonly used in Laravel applications.
Found 27 issues
First time here? 👋
Welcome to Find a PR.
Find a PR is an open-source site that is built to help developers find projects so that they can submit their very first pull request.
If you're a contributor looking to find a project to contribute to, feel free to browse through the list below.
If you're a maintainer looking to list your project on Find a PR, you can read how to do this in the documentation.
We need a method of migrating users from 2.4 to 3.x.
Things to consider:
- Migrate settings
- Migrate resources
- Migrate subscriptions / subscribers
- Migrate API Keys
AOB (please add to this list)
As a comment on the latter, once #183 is merged, we'll need to programmatically migrate users 2.4 API Keys to 3.x using something like the following
$v2ApiKey = $v2User->api_key;
$v3User->tokens()->create([
'name' => 'v2.4 API Key',
'token' => hash('sha256', $v2ApiKey),
'abilities' => ['*'],
'expires_at' => now()->addDays(90),
]);
@jbrooksuk We need to decide on the abilities and expires_at. IMO it makes sense to throw something into the upgrade documentation that old 2.4 API Keys will continue to work for up to 90 days. But if they want to use the API after that, then they'll need to generate a new API Token using the 3.x dashboard.
joelbutcher
15th Jan 2025 @ 18:19
Description: I am using Flasher 2.0.1 in my Laravel 11 project and would like to know how to properly use the Flasher library in JavaScript. Additionally, I want to ensure that the JavaScript configuration is consistent with the settings defined in the flasher.php configuration file.
Details: Flasher Version: 2.0.1 Laravel Version: 11 Problem: Need guidance on using the Flasher library with JavaScript in a way that mirrors the configuration set in flasher.php.
raseldev99
16th Sep 2024 @ 04:50
Hi Developer,
I appreciate your work on this project—it's really well-built and helpful for developers like me. I recently implemented it and found it working great.
However, I noticed that the .fl-wrappe class currently has z-index: 10, which causes it to appear under the header when using a fixed or sticky header. I suggest updating it to z-index: 99999 to ensure proper visibility.
Thanks for your efforts and for sharing this project!
Best regards, Md. Jahangir Alam Rohan.
rohan9222
18th Feb 2025 @ 04:20
Hi 👋🏼!
I am coming here to gather some feedback on my idea before starting working on it.
Background
I wanted to create a POC of https://github.com/symfony/skeleton made for Sylius. I created a simple recipe for sylius/core-bundle, then an example skeleton repo and I have found out my recipes does not work as another recipe already write files with the same name. Then, I noticed symfony/framework-bundle is always put as the first recipe to be executed, and this is a thing I wish to be able to configure.
Goal
Somehow allow myself to make (in this POC case) sylius/core-bundle as a first recipe to be executed. Of course, I can fork symfony/flex, but it would be perfect to avoid this way.
Idea
The idea is simple, we allow configuring such list for example in this way:
{
...
"extra": {
"flex": {
"prioritized-recipes": [
"sylius/core-bundle",
"another/sylius-package",
...
]
}
}
...
}
In Flex we could implement this +/- this way:
// symfony/framework-bundle recipe should always be applied first after the metapackages
// however, we allow to override it with a list of prioritized recipes
$recipes = $this->getPrioritizedRecipes();
$recipes = array_merge($recipes, [
'symfony/framework-bundle' => null,
]);
$packRecipes = [];
$metaRecipes = [];
instead current
// symfony/framework-bundle recipe should always be applied first after the metapackages
$recipes = [
'symfony/framework-bundle' => null,
];
$packRecipes = [];
$metaRecipes = [];
Why?
- In some projects, we may want to load our recipes before the Symfony's ones
- In frameworks based on Symfony (like Sylius) we need to set up the whole project in our own way, so
framework-bundleas a first recipe to be executed makes it unable for us
Other options
I have not checked it yet, but I believe we can achieve the similar feature using Composer's Event Dispatcher. But first, I would like to hear if such a feature is welcomed. Or maybe you have a better idea how to solve this. I am open to provide such feature right after we agree on some solution.
jakubtobiasz
7th Nov 2022 @ 19:24
What about allowing displaying post-install messages again, eg when running this?
composer recipes the/package
nicolas-grekas
1st Jun 2022 @ 09:13
Hello,
Is it possible to close a flash message by clicking on it and not just on clicking on the cross? If so, how to achieve it?
Regards, Fred
frdemoulin
13th Aug 2025 @ 20:21
The dashboard should offer the ability to toggle the theme between:
- Automatic (System)
- Light
- Dark
Further, the dashboard should have a "Theme" option to force a theme mode.
jbrooksuk
3rd Oct 2024 @ 18:34
Is LDAP support planned? I saw there was a lot of interest in this with version 2. Would be nice to have this onboard for v3. There is a package available https://github.com/DirectoryTree/LdapRecord-Laravel https://chrispian.com/laravel-filament-tutorial-customize-login-to-use-ldap
julianstolp
11th Mar 2025 @ 14:11
- Laravel version: 13.24.0
- PHP version: 8.5.9
- Database driver & version: SQLite 3 in memory, through Testbench 11.1
I was counting queries on an ordinary index endpoint and ended up with 101 queries for 100 records with ?include=comments. The same listing built as Post::with('comments')->get() gives 2. Before I read anything into that I'd like to know whether the loading is meant to be the developer's job here.
Where it comes from, as far as I can tell. ResolvesJsonApiElements:: compileResourceRelationships() calls $this->resource->loadMissing(...), and $this->resource in that method is always a single model, because both callers return early unless it is one. AnonymousResourceCollection::toAttributes() then maps resolveResourceData() over the collection item by item, so every item runs its own loadMissing against its own model.
The nested level behaves differently, and that's why I'm asking rather than just eager loading and moving on. With 10 posts and ?include=comments.author I get 21 queries: one for the posts, ten for the comments, ten for the authors. But the author lookups are batched inside each post, select * from "authors" where "authors"."id" in (1, 2, 3), because the second loadMissing runs on $relatedModels, which is already a collection. So the batching is there. It just never reaches the outer level.
What I measured, all on 13.24.0:
| request | queries |
|---|---|
| single post, ?include=comments | 2 |
| 10 posts, no eager loading | 11 |
| 10 posts, with('comments') | 2 |
| 10 posts, ?include=comments.author | 21 |
| 10 posts, with('comments.author') | 3 |
| 100 posts, no eager loading | 101 |
| 100 posts, with('comments') | 2 |
I'm leaving timings out on purpose. This is sqlite in memory, so the numbers there say more about serialisation than about the database, and the counts are what matters.
The case for "working as intended", which I can make myself: the call is loadMissing and not load, which reads like topping up whatever the developer forgot, not like owning the loading, and the documentation does show eager loading in the controller. If that's the answer then this is a documentation note at most and I'll drop it. It just seems like a lot to leave to a query log on an endpoint whose output is completely correct.
Two things I did not check, in case they matter: whether the same happens through an explicit ResourceCollection class and not the anonymous one, and whether chaperone() changes any of it. Both looked like separate paths when I skimmed them, so I might be missing something.
Steps to reproduce
Post hasMany Comment, Comment belongsTo Author. Resources generated with make:resource --json-api, PostResource declaring $relationships = ['comments'], CommentResource declaring $relationships = ['author'].
Route returning PostResource::collection(Post::all()), 100 posts with three comments each, then GET /posts?include=comments with Accept: application/vnd.api+json and DB::listen() counting.
Bosun18
20th Aug 2026 @ 09:11
I would love to see support for oAuth in Catchet. I know there are some other (closed) issues requesting the same functionality, but I think this would be a great addition for Catchet.
FoksVHox
28th Feb 2025 @ 08:29
It should be possible to configure Cachet via a cachet:install Artisan command.
v2.x had an interactive command that would ask you questions and store the configuration.
For v3.x, this won't work exactly the same as we now have a mix of .env and database settings, but the idea is the same.
jbrooksuk
9th Oct 2024 @ 20:21
The goal is to make abstract code based on the package notorm to build a new orm system
ambroisehdn
15th Jun 2022 @ 12:34
These messages aren't displayed: https://github.com/symfony/flex/blob/1.x/src/Configurator/DockerComposeConfigurator.php#L51
dunglas
7th Aug 2022 @ 09:33
This will probably be a component to search and select an image from unsplash.
joedixon
12th Oct 2021 @ 19:59
Laravel Version
13.11.2
PHP Version
8.5.4
Database Driver & Version
No response
Description
On Windows 11, running laravel new fails during the post-autoload scripts when artisan install:features is executed. The command triggers an interactive prompt, which causes the Composer script to fail with exit code 255.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
INFO Discovering packages.
inertiajs/inertia-laravel ................................................................................................................... DONE
laravel/fortify ............................................................................................................................. DONE
laravel/pail ................................................................................................................................ DONE
laravel/pao ................................................................................................................................. DONE
laravel/passkeys ............................................................................................................................ DONE
laravel/sail ................................................................................................................................ DONE
laravel/tinker .............................................................................................................................. DONE
laravel/wayfinder ........................................................................................................................... DONE
nesbot/carbon ............................................................................................................................... DONE
nunomaduro/collision ........................................................................................................................ DONE
nunomaduro/termwind ......................................................................................................................... DONE
87 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan install:features --ansi
Which authentication features would you like to enable? [email-verification,registration,2fa,passkeys,password-confirmation]
None .............................................................................................................................................
Email verification ............................................................................................................ email-verification
Registration ........................................................................................................................ registration
Two-factor authentication .................................................................................................................... 2fa
Passkeys ................................................................................................................................ passkeys
Password confirmation ...................................................................................................... password-confirmation
Script @php artisan install:features --ansi handling the post-update-cmd event returned with error code 255
Steps To Reproduce
laravel new
Observe failure during post-autoload-dump
Ademking
24th May 2026 @ 01:50
Hello, When using php-flasher-toastr with Laravel 11, I encounter a TypeError: array_replace_recursive(): Argument #2 must be of type array, int given error in Illuminate\Translation\FileLoader at line 130. My environment:
- PHP: 8.3.7
- Laravel: 11.4.2
- php-flasher/flasher-toastr-laravel: 2.1
- php-flasher/flasher-laravel: 2.1 The error disappears when I uninstall php-flasher/flasher-toastr-laravel and php-flasher/flasher-laravel. Alternatively, ensuring that the value passed to with() is always a string (e.g., with('success', 'Message')) prevents the error.
Gnoth2n5
27th Mar 2025 @ 17:30
Provide updates to new functionalities in the v2 of the package.
kwakuOfosuAgyeman
5th Jan 2025 @ 05:45
Laravel Version
13.11.1
PHP Version
8.4
Database Driver & Version
N/A
Description
Based on the documentation for @stack I would expect to be able to define a @push basically anywhere and have it rendered into the stack. I have come across 2 scenarios where this does not appear to work.
The first is very contrived, and not a realistic way the feature would be used, but could be indicative of the underlying problem.
//welcome.blade.php
@push('scripts')
before stack
@endpush
@stack('scripts')
@push('scripts')
after stack
@endpush
In this example, the stack and push are defined in the same view file. Only "before stack" is rendered.
There's really no need to make this scenario work because if you're in the same file you don't need to bother pushing to a stack, but including it to showcase the full failure scenario.
The 2nd example is the specific issue I have run into, and what I hope we can make work. To replicate this issue we need 2 components and 1 view. I've used class based components, but I would assume anonymous one would behave the same.
- "layout" component
- "chat" component
- "welcome" view
//layout.blade.php
<!doctype html>
<html lang="en">
<head>
<title>Title</title>
@stack('scripts')
</head>
<body>
<div>{{ $slot }}</div>
<x-chat input="layout"></x-chat>
</body>
</html>
//welcome.blade.php
<x-layout>
<x-chat input="view"></x-chat>
@push('scripts')
pushed from view
@endpush
</x-layout>
//chat.blade.php
@push('scripts')
pushed from chat [{{ $input }}]
@endpush
<div>The Chat</div>
When visiting the "welcome" view, I would expect to see
<!doctype html>
<html lang="en">
<head>
<title>Title</title>
pushed from chat [view]
pushed from chat [layout]
pushed from view
</head>
<body>
<div>The Chat</div>
<div>The Chat</div>
</body>
</html>
but instead I only get
<!doctype html>
<html lang="en">
<head>
<title>Title</title>
pushed from chat [view]
pushed from view
</head>
<body>
<div>The Chat</div>
<div>The Chat</div>
</body>
</html>
So the view is able to push to the stack, the component included in the view is able to push to the stack, but the component included in the layout cannot. We can see the component contents are correctly being rendered twice, and it is only the stack push that is not working in the 1 scenario.
As far as I can tell, the compiled views look correct. They are calling startPush(), yieldPushContents(), etc correctly.
I'm going to try and dig into the Blade a little more to try and debug this, but putting this out there because maybe this is a known limitation, or someone has some insight on how to fix this.
Steps To Reproduce
See description.
browner12
21st May 2026 @ 18:02
I tried the example config from the docs to a Laravel/Inertia/Vue app, and it don't work.
If use the code (HandleInertiaRequests.php): 'messages' => flash()->render([], 'array'),
Error: Flasher\Prime\Flasher::render(): Argument #1 ($presenter) must be of type string, array given, called in D:\Laragon6\www\mobi-care\app\Http\Middleware\HandleInertiaRequests.php on line 36
And changing it to: 'messages' => flash()->render('array'), it loads the page, but, I only see the notifications if i press F5, with its not the desired state.
brunonetadmin
18th Mar 2025 @ 17:16
On the record update for an active incident, there needs to be a tie to the component to be update the current component status.
glipschitz
19th Jan 2025 @ 03:05
Sulu CMS separates its assets into assets/admin and assets/website, this means when installing Encore within a Sulu CMS install you will have to change a bunch of paths: https://docs.sulu.io/en/latest/cookbook/webpack-encore.html
This isn't my main issue, I think this is acceptable for an initial setup. But I do think we can improve what happens when you composer require a symfony bundle that provides stimulus controllers.
In the Sulu + Encore setup, the controllers.json file lives in assets/website/controllers.json. But since this path is hardcoded here:
The controllers.json is not updated automatically and there's no output telling you to manually do this either. So you're left a little lost in what is still missing. Also, figuring out what to manually add in controllers.json is quite tricky since most existing UX bundles don't document this manual setup.
Before I start hacking away at a PR, any suggestions how we can solve this properly? Or do we accept that this is not configurable and those who use custom paths just have to deal with it?
Thank you in advance.
rskuipers
27th Dec 2022 @ 21:16
When you install a UX package, if you have AssetMapper installed, we importmap:require the packages you need. We should also importmap:remove those when the package is uninstalled.
https://github.com/symfony/recipes/issues/1089#issuecomment-1885459144
weaverryan
10th Jan 2024 @ 19:05
symfony 7.4 php 8.5
Development is taking place on IIS, in the "Symfony" folder. Instead of the address "/Symfony/vendor/flasher/flasher.min.js" like other resources embedded via "asset," the address "/vendor/flasher/flasher.min.js" is inserted, which results in an error. The CSS file isn't embedded at all.
yaroslaw74
12th Apr 2026 @ 16:01
Immediately after installing php-flasher/flasher-laravel, the application breaks with the following error:
foreach() argument must be of type array|object, bool given
Simply installing the package causes this fatal error.
Steps to Reproduce:
Create a fresh Laravel app.
Run:
composer require php-flasher/flasher-laravel
Load any page in the app — no usage of flasher() or flasher_render() yet.
Laravel crashes with a foreach() error.
dlopez525
11th Apr 2025 @ 18:20
using prompt engineering techniques provide enhancement to the Claude service class in the Claude prompt class, creating functions commonly used in Laravel applications. For example, brand builder, seo product optimizer, video and or image captioner, automated chatbots #goodfirstissue
kwakuOfosuAgyeman
5th Jan 2025 @ 05:38