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
Found 38 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.
Package
filament/filament
Package Version
v3.3.4
Laravel Version
v11.44.2
Livewire Version
v3.6.2
PHP Version
PHP 8.3.17
Problem description
Since release 3.2.134 the datepicker in TextInputColumn stopped working when used as TextInputColumn::make('load_date')->type('date'). The datepicker doesn't open.
It is caused by https://github.com/filamentphp/filament/pull/15340, specifically this change, when reverted, the column works fine.
Expected behavior
When user clicks on the calendar icon, a datepicker should open.
Steps to reproduce
- add
TextInputColumn::make('date')->type('date')to your Filament table composer require filament/filament:3.2.133 -W- the datepicker opens and inline editing works
composer require filament/filament:3.2.134 -W- the datepicker doesn't open
Reproduction repository (issue will be closed if this is not valid)
https://github.com/jvitasek/app-filament-issue-3.x
Relevant log output
jvitasek
19th Mar 2025 @ 11:29
This will probably be a component to search and select an image from unsplash.
joedixon
12th Oct 2021 @ 19:59
using prompt engineering techniques provide enhancement to the Gemini service class in the Gemini prompt class, creating functions commonly used in Laravel applications.
kwakuOfosuAgyeman
5th Jan 2025 @ 05:43
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
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
Octane Version
2.9
Laravel Version
12
PHP Version
8.4
What server type are you using?
FrankenPHP
Server Version
1.12
Database Driver & Version
No response
Description
The current Caddy configuration template for FrankenPHP utilizes a broad try_files directive:
try_files {path} frankenphp-worker.php
This logic causes all requests for non-existent static files (e.g., versioned assets like app-v123.js after a deployment) to be forwarded to the PHP worker. In high-traffic environments, a surge of requests for missing assets triggers unnecessary PHP process execution, leading to worker saturation, increased CPU/Memory overhead, and potential system failure.
Technical Impact
- Performance: High overhead for 404 responses that should be handled at the web-server level.
- Stability: Potential DoS condition when static asset paths are brute-forced or when client-side caches request deprecated versioned files.
- Resource Allocation: PHP workers are occupied by I/O-bound requests for missing files instead of processing dynamic application logic.
Proposed Solution
Refactor the Caddyfile logic to isolate static file handling. A dedicated matcher for common file extensions should be implemented to ensure that if a static file is not found on disk, Caddy returns a 404 Not Found immediately, bypassing the php_server or php_dispatch logic.
Recommended Configuration Change
Define a matcher for static assets and handle them via file_server exclusively:
@static {
path *.css *.js *.mjs *.map *.ico *.png *.jpg *.jpeg *.gif *.svg *.webp *.avif *.woff *.woff2 *.ttf *.otf *.eot *.mp4 *.webm *.ogg *.mp3 *.wav *.pdf *.zip *.txt *.xml *.json *.wasm *.webmanifest *.manifest
}
file_server @static
Steps To Reproduce
- Deploy Laravel Octane with FrankenPHP.
- Request a non-existent file with a
.jsor.cssextension. - Observe that the request is processed by
frankenphp-worker.php(returning a Laravel 404) instead of a native Caddy 404.
eugene-nuwber
7th Apr 2026 @ 09:52
These messages aren't displayed: https://github.com/symfony/flex/blob/1.x/src/Configurator/DockerComposeConfigurator.php#L51
dunglas
7th Aug 2022 @ 09:33
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
Octane Version
2.6.1
Laravel Version
11.41.3
PHP Version
8.3
What server type are you using?
Roadrunner
Server Version
2024.3.2
Database Driver & Version
No response
Description
ok this is in the borderline to be a bug but i write it anyway.
i am deploying using deployer , i suppose will happen for any Zero Downtime Deployments.
/releases/99/
/releases/100/
/releases/101/
and then a symbolic link from the latest release to /current , all pretty standard.
the problem come when running artisan octane:start
vendor/laravel/octane/src/Commands/StartRoadRunnerCommand.php
will set roadrunner server with
'-o', 'server.command='.(new PhpExecutableFinder)->find().','.base_path(config('octane.roadrunner.command', 'vendor/bin/roadrunner-worker')),
where base_path(...) will resolve to /releases/101/ not to /current
so in next deployment e.g. (/releases/102/) , when we run artisan octane:reload it will still use old /releases/101/ source code
(i checked and yes if i go back to /releases/101/ and make a change it will be present after artisan octane:reload).
the solution is very simple, in config/octane.php
you just need to add:
'roadrunner'=>[
'command' => env('OCTANE_ROADRUNNER_WORKER_PATH', base_path('vendor/bin/roadrunner-worker')),
]
OCTANE_ROADRUNNER_WORKER_PATH=../../current
would be nice is this added to config/octane.php , and maybe don't use base_path
or even better a option to provide the path in octane:start
Steps To Reproduce
deploy a octane laravel app using deployer , octane:reload will not work as expected
inikoo
13th Feb 2025 @ 14:32
Package
filament/filament
Package Version
v3.2.130
Laravel Version
v.11.35.0
Livewire Version
No response
PHP Version
PHP 8.3
Problem description
When you have an attribute named length in the database and you use the ->searchable(isIndividual: true) in the tables of filament you get a zero in the search field and the search field is not working. When deleting the zero to filter, the zero keeps coming back.
Expected behavior
That the zero is not there and that I am able to filter individual on an attribute named length.
Steps to reproduce
- Create a table with a column that is named length with type integer or float
- Create a standard resource of the model
- Make the column length individual searchable
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('id')
->label('ID'),
Tables\Columns\TextColumn::make('length')
->suffix(' mm')
->searchable(isIndividual: true)
->sortable(),
Tables\Columns\TextColumn::make('total_meters')
->suffix(' m')
->sortable(),
Tables\Columns\TextColumn::make('supplier_reference')
->label('Reference')
->sortable(),
])
->filters([
//
])
->actions([
Tables\Actions\EditAction::make(),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
]);
}
Reproduction repository (issue will be closed if this is not valid)
https://github.com/Geoffry304/filament-length-attribute-issue
Relevant log output
No response
Geoffry304
12th Dec 2024 @ 14:30
Package
filament/forms
Package Version
3.2.80
Laravel Version
11.7.0
Livewire Version
3.4.12
PHP Version
8.2.18
Problem description
The behavior of clicking on submit vs pressing the registered keyBinding() is different.
Clicking will clear the form. (correct)
Pressing the shortcut key does not. (incorrect)
Expected behavior
Pressing the shortcut key should also clear the form.
Steps to reproduce
- Type something into the markdown editor at
/admin/issue - Press
ctrl + enter
Reproduction repository
https://github.com/bilogic/filament-issue/tree/click-different-from-keyBindings
Relevant log output
https://github.com/filamentphp/filament/assets/946010/fb144bf9-802f-4003-8dcd-ec4c2148e742
No response
bilogic
19th May 2024 @ 07:38
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
Calling for help from Docker experts. We need to create the best possible docker-compose.yml file for this project. The application requirements are well defined (we use env vars, Webpack Encore, PHP 7.1, Symfony 4.1, SQLite database, etc.) so it should be possible to create that file.
javiereguiluz
21st May 2018 @ 09:37
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
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
Octane Version
2.13.1
Laravel Version
12.38.1
PHP Version
8.4.14
What server type are you using?
Swoole
Server Version
nginx
Database Driver & Version
No response
Description
When registering a singleton via AppServiceProvider, the constructor is triggered only once per worker, as expected. However, when using the attribute-based singleton registration (https://laravel.com/docs/12.x/container#singleton-attribute ), the constructor appears to be triggered once per request scope, behaving more like a scoped service. This may be due to the sandbox being registered earlier.
Steps To Reproduce
Check running this part
namespace App\TestService;
use Illuminate\Container\Attributes\Singleton;
#[Singleton]
class TestService
{
public function __construct()
{
echo("__construct TestService");
echo(spl_object_id($this));
}
}
in some controler use
app(\App\TestService\TestService::class);
app(\App\TestService\TestService::class);
app(\App\TestService\TestService::class);
kamil-michalak
15th Nov 2025 @ 10:56
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
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
Ensure PHP 8.5 is supported, by tweaking the CI matrix
Kocal
22nd Nov 2025 @ 17:02
Octane Version
v2.3.10
Laravel Version
v11.6.0
PHP Version
v8.3.6
What server type are you using?
FrankenPHP
Server Version
v1.1.4 PHP 8.3.6 Caddy v2.7.6
Database Driver & Version
Postgress
Description
Last week we updated our app previously using php-fpm running on Forge to use Laravel Octane with FrankenPHP. Our site is mostly an API that handles analytics events (Like google analytics). It uses the default Laravel api throttling.
In staging our app worked fine (30 req/sec same IP), but when deploying to production (1400 req/sec, different IPs) it started to fail, giving a lot of 429 Too Many Requests.
I quickly rolled back to php-fpm and after a few hours tried again with the same problem. Rolled back and the next day I switched to Swoole and it worked perfectly without changing a single line of code nor having to redeploy anything. So I can confidently say that is NOT a bug in my code, but rather a bug with FrankenPHP or the Octane integration with FrankenPHP.
My theory is that the RateLimiter is not reseting between requests so it's shared between different users. So multiple different users trigger the rate limiter:
This is my Rate limiter configuration:
// AppServiceProvider
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
});
our production CACHE_STORE is redis. Throttling worked perfectly fine without octane and with octane but using Swoole. It failed with hundred of 429 Too Many Requests after installing FrankenPHP.
This is our bootstrap/app.php:
<?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use Illuminate\Support\Facades\App;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
commands: __DIR__.'/../routes/console.php',
health: '/up',
then: function () {
Route::middleware('api')
->prefix('api')
->as('api.')
->domain(config('app.domain'))
->group(base_path('routes/api.php'));
Route::middleware('web')
->domain(config('app.domain'))
->group(base_path('routes/web.php'));
Route::middleware('web')
->domain(config('playsaurus.ads.domain'))
->group(base_path('routes/ads.php'));
}
)
->withMiddleware(function (Middleware $middleware) {
$middleware->throttleApi();
$middleware->redirectTo(
guests: '/login',
users: '/',
);
$middleware->web(append: [
\App\Http\Middleware\HandleInertiaRequests::class,
\Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets::class,
]);
$middleware->api(append: [
\App\Http\Middleware\ConfigureLocale::class,
]);
$middleware->alias([
'localize' => \App\Http\Middleware\ConfigureLocale::class,
'embed' => \App\Http\Middleware\AllowsEmbeding::class,
]);
})
->withExceptions(function (Exceptions $exceptions) {
$exceptions->dontReport([
\App\Services\Announcements\InvalidVariantKey::class,
\App\Exceptions\CouponRedeemException::class,
]);
})->create();
Steps To Reproduce
It's difficult to reproduce. Because I can't test it in production because that would mean a lot of downtime for our users.
My theory is that it would be possible to reproduce from multiple different IPs. But since I don't have the means to test it, I don't know.
jhm-ciberman
14th May 2024 @ 00:15
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
Package
filament/filament
Package Version
3
Laravel Version
11
Livewire Version
V3
PHP Version
php 8
Problem description
When I upload multiple files, some of the files are missing.
Expected behavior
All the files should be present in the desired folder.
Steps to reproduce
Section::make('') ->relationship('result_files') ->schema([ FileUpload::make('attachments') ->columnSpan(12) ->multiple() ->maxSize(100000) ->disk('uploads') ->directory('result_files') ->acceptedFileTypes(["application/pdf"]) ->getUploadedFileNameForStorageUsing(function ($file): string { $fileName = str($file->getClientOriginalName()); $fileName_str = preg_replace('/[^a-zA-Z0-9.]/','',iconv('UTF-8', 'ASCII//TRANSLIT', $fileName)); return (string) str($fileName_str)->prepend(now() . '-'); }) ->downloadable() ->rules([ new MalwareFile] ) ->label(__('application.resource.result_documents')) ]),
FileUpload::make('attachments') ->columnSpan(12) ->multiple() ->maxSize(100000) ->disk('uploads') ->visibility('private') ->directory('application_files') ->getUploadedFileNameForStorageUsing(function ($file): string { $fileName = str($file->getClientOriginalName()); $fileName_str = preg_replace('/[^a-zA-Z0-9.]/','',iconv('UTF-8', 'ASCII//TRANSLIT', $fileName)); return (string) str($fileName_str)->prepend(now() . '-'); }) ->downloadable() ->rules([ new MalwareFile] ) ->label(__('application.resource.application_documents')),
livewire.php
'temporary_file_upload' => [ 'disk' => 'tmp', // Example: 'local', 's3' | Default: 'default' "rules" => "file|mimes:pdf,jpg,jpeg,png,doc,docx,svg,mp4,mp3 | max:100000", // 'rules' => 'max:100000', // Example: ['file', 'mimes:png,jpg'] | Default: ['required', 'file', 'max:12288'] (12MB) 'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp' 'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1' 'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs... 'png', 'gif', 'bmp', 'svg', 'wav', 'mp4', 'mov', 'avi', 'wmv', 'mp3', 'm4a', 'jpg', 'jpeg', 'mpga', 'webp', 'wma', 'pdf' ], 'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated... ],
Reproduction repository (issue will be closed if this is not valid)
https://github.com/guma-005/Filament-issue.git
Relevant log output
No response
uma-ac
18th Jun 2024 @ 09:17
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
What about allowing displaying post-install messages again, eg when running this?
composer recipes the/package
nicolas-grekas
1st Jun 2022 @ 09:13
Package
filament/filament
Package Version
v3.2.93
Laravel Version
v10.48.16
Livewire Version
v3.5.2
PHP Version
v8.2.12
Problem description
When a column in the database is of type geometry, the Filament panel feature breaks (it's not possible to visualize the record).
When I fill the column with NULL value, it works fine, but when I fill it with the POINT value containing Latitude and Longitude, it stops working.
Expected behavior
I expected to be able to visualize the record.
View record in table
Steps to reproduce
Create Model and Migration
php82 artisan make:model Coleta --migration
Migration
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('coletas', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->geometry('geo')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('coletas');
}
};
Model
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Coleta extends Model
{
use HasFactory;
protected $table = 'coletas';
protected $fillable = [
'id',
'name',
'geo'
];
}
Seeder
$coleta = new \App\Models\Coleta();
$coleta->name = 'Test';
$coleta->geo = \Illuminate\Support\Facades\DB::raw('POINT(46.646748, 24.562727)');
$coleta->save();
Create Resource
php artisan make:filament-resource Coleta --generate
Resource
<?php
namespace App\Filament\Resources;
use App\Filament\Resources\ColetaResource\Pages;
use App\Filament\Resources\ColetaResource\RelationManagers;
use App\Models\Coleta;
use Filament\Forms;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;
class ColetaResource extends Resource
{
protected static ?string $model = Coleta::class;
protected static ?string $navigationIcon = 'heroicon-o-chevron-double-right';
protected static ?string $navigationLabel = 'Coletas';
protected static ?string $navigationGroup = 'Reciclagem';
protected static ?string $modelLabel = 'Coleta';
protected static ?string $pluralModelLabel = 'Coletas';
public static function form(Form $form): Form
{
return $form
->schema([
Forms\Components\TextInput::make('name')
->label('Name')
->required(),
])->columns(1);
}
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('id')
->label("#")
->sortable(),
Tables\Columns\TextColumn::make('name')
->label('name'),
Tables\Columns\TextColumn::make('created_at')
->label("Criado em")
->dateTime("d/m/Y H:i:s")
->sortable()
->toggleable(isToggledHiddenByDefault: false),
Tables\Columns\TextColumn::make('updated_at')
->label("Atualizado em")
->dateTime("d/m/Y H:i:s")
->sortable()
->toggleable(isToggledHiddenByDefault: true),
])
->filters([
//
])
->actions([
Tables\Actions\ActionGroup::make([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
//Tables\Actions\DeleteAction::make(),
]),
])
->bulkActions([
/*Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),*/]);
}
public static function getRelations(): array
{
return [
//
];
}
public static function getPages(): array
{
return [
'index' => Pages\ListColetas::route('/'),
'create' => Pages\CreateColeta::route('/create'),
'edit' => Pages\EditColeta::route('/{record}/edit'),
];
}
}
Record in Table
Console Browser Error
Column geo in MySQL PhpMyAdmin
Column geo with value POINT (lat, lng) in MySQL PhpMyAdmin
Reproduction repository (issue will be closed if this is not valid)
https://github.com/matheusjohannaraujo/bug-template-laravel-filament/
Relevant log output
No error appears in laravel.log
matheusjohannaraujo
13th Jul 2024 @ 18:38
Laravel Version
v13.2.0
PHP Version
8.3.30
Database Driver & Version
mariadb Ver 15.1 on arm64 (Homebrew)
Description
When doing something along the lines of:
$query
->where([
['source_type', '=', Role::class],
['source_id', '=', $obj->guestRole->id],
])
->orWhere([
['source_type', '=', Group::class],
['source_id', '=', $obj->loggedOutGroup->id],
]);
previously, it would generate a conditional with:
(source_type=? AND source_id=?) OR (source_type=? AND source_id=?)
After the upgrade to Laravel 13 it's now generating the following conditional (note the OR in the second block):
(source_type=? AND source_id=?) OR (source_type=? OR source_id=?)
While looking into this I discovered #53184 from 11.28 causing this issue. However, it says it was fixed in #53197 but I'm still seeing this behavior in 13.x
Steps To Reproduce
$query
->where([
['source_type', '=', Role::class],
['source_id', '=', $obj->guestRole->id],
])
->orWhere([
['source_type', '=', Group::class],
['source_id', '=', $obj->loggedOutGroup->id],
]);
Use this as a conditional
JakeBooher
3rd Apr 2026 @ 17:13
Octane Version
2.11.0
Laravel Version
12.20.0
PHP Version
8.3.23
What server type are you using?
FrankenPHP
Server Version
1.8.0
Database Driver & Version
No response
Description
I have an octane app running inside a docker container and use a bind mount for the application code. When editing files, fs events are not sent across the bind mount to the container, so the watcher does not detect them. I have the same issue reported in #487. There is also an open issue on the frankenphp repository https://github.com/php/frankenphp/issues/1616.
A potential solution would be to add an option to octane:frankenphp, like --chokidar to use chokidar instead of frankenphp's watcher.
Steps To Reproduce
Same as #487, but using frankenphp.
rty765
14th Jul 2025 @ 19:46
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
Not PHPUnit 11 because we still need to support for PHP 8.1
e.g. at the moment we have stuff like:
- Symfony\Flex\Tests\Configurator\CopyFromPackageConfiguratorTest::testConfigureAndOverwriteFiles The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
Help wanted 🙏
nicolas-grekas
23rd May 2025 @ 10:13
The goal is to make abstract code based on the package notorm to build a new orm system
ambroisehdn
15th Jun 2022 @ 12:34
The friendly-errors-webpack-plugin has a built-in transformer/formatter for when a module is missing. To see the behavior, try (in any JavaScript file):
require('foo'); // foo is not a module that is installed
The error is:
This dependency was not found:
- foo in ./app/Resources/assets/js/app.js To install it, you can run: npm install --save foo
The problem is the npm install part... which should be yarn add to avoid confusion with our users. There is an issue about this: https://github.com/geowarin/friendly-errors-webpack-plugin/issues/33
weaverryan
25th Jun 2017 @ 23:10
Provide updates to new functionalities in the v2 of the package.
kwakuOfosuAgyeman
5th Jan 2025 @ 05:45
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
Octane Version
2.8.1
Laravel Version
10.48.28
PHP Version
8.3.16
What server type are you using?
Swoole
Server Version
6.0.1
Database Driver & Version
No response
Description
I'm using Envoyer to deploy a Laravel Octane application, taking advantage of its zero-downtime deployment features.
However, Octane currently does not support zero-downtime deployment because it does not follow symlink directories. It always remains in the actual directory (instead of the symlinked one) where the Octane server was initially started. When the outdated release directory is deleted, Octane continues running in that location, causing errors on every request and resulting in 500 response codes on the live application.
Error thrown:
Warning: require(/var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/bootstrap.php): Failed to open stream: No such file or directory in /var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/swoole-server on line 18
Fatal error: Uncaught Error: Failed opening required '/var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/bootstrap.php' (include_path='.:/usr/bin/[email protected]/8.3.16/share/[email protected]/pear') in /var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/swoole-server:18
Stack trace:
#0 /var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/swoole-server(95): {closure}(Array)
#1 [internal function]: {closure}(Object(Swoole\Http\Server), 0)
#2 /var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/swoole-server(170): Swoole\Server->start()
#3 {main}
thrown in /var/www/domain.com/releases/202502010200023/vendor/laravel/octane/bin/swoole-server on line 18
#1 [internal function]: {closure}(Object(Swoole\Http\Server), 1)
#1 [internal function]: {closure}(Object(Swoole\Http\Server), 3)
#1 [internal function]: {closure}(Object(Swoole\Http\Server), 2)
#1 [internal function]: {closure}(Object(Swoole\Http\Server), 4)
#1 [internal function]: {closure}(Object(Swoole\Http\Server), 5)
Steps To Reproduce
Use any 0-downtime deployment or test it manually using the following instructions:
- Use the Swoole driver as an example.
cdone directory up from the project's base path.- Create a
currentsymlink directory for your project using the command:ln -nsf ./octane-project-test ./current - Start the Octane server:
php ./current/artisan octane:start - Copy your project to another directory:
cp -R ./octane-project-test ./octane-project-test-new - Activate the new release:
ln -nsf ./octane-project-test-new ./current - Reload the Octane server:
php ./current/artisan octane:reload - Remove the original project directory:
rm -rf ./octane-project-test
mikkpokk
2nd Mar 2025 @ 01:35
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