JoseBravo
JoseBravo
FFilament
Created by JoseBravo on 5/9/2024 in #❓┊help
Middleware to check if user has the profile completed
Awesome! thanks Leandro
8 replies
FFilament
Created by JoseBravo on 4/20/2024 in #❓┊help
Ioncube encoder
This problem is solved now, I had to encode with --allow-reflection-all
15 replies
FFilament
Created by Alnuaimi on 5/7/2024 in #❓┊help
How to LDAP Integration ?
Im using FreeIPA and I had to connect this way: uid=user,cn=users,cn=accounts,dc=example,dc=org
20 replies
FFilament
Created by Alnuaimi on 5/7/2024 in #❓┊help
How to LDAP Integration ?
What LDAP server are you using?
20 replies
FFilament
Created by JoseBravo on 5/9/2024 in #❓┊help
Middleware to check if user has the profile completed
How can I register the middleware in the version 2?
8 replies
FFilament
Created by JoseBravo on 5/9/2024 in #❓┊help
Middleware to check if user has the profile completed
I'm using the v2
8 replies
FFilament
Created by JoseBravo on 5/9/2024 in #❓┊help
Middleware to check if user has the profile completed
I registered it in the array $middleware, at Kernel.php
8 replies
FFilament
Created by JoseBravo on 4/20/2024 in #❓┊help
Ioncube encoder
->unique(callback: function (Unique $rule, callable $get) { return $rule ->where('ip', $get('ip')) ->where('username', $get('username')); }, ignoreRecord: true)
15 replies
FFilament
Created by JoseBravo on 4/20/2024 in #❓┊help
Ioncube encoder
Is there any other way to do that validation without using the closure?
15 replies
FFilament
Created by JoseBravo on 4/20/2024 in #❓┊help
Ioncube encoder
ioncube is encoding all php code, closures act a bit different because I think that code is being compiled at runtime.
15 replies
FFilament
Created by JoseBravo on 4/20/2024 in #❓┊help
Ioncube encoder
Because IonCube is being loaded as an extension in php (zend_extension), it doesn't throw any exception. The PHP process just dies. I have several Filament Resources and all of them are working good, the only problem that I'm experiencing is in the unique closure of that TextInput.
15 replies
FFilament
Created by JoseBravo on 4/20/2024 in #❓┊help
Ioncube encoder
Yes, it works with Laravel/Eloquent. Everything in the project with Filament is working except that closure. Sadly, it doesn't give any error, php just dies.
15 replies
FFilament
Created by JoseBravo on 11/20/2023 in #❓┊help
Async status
@3rgo the problem with this solution is that it won't update the table until the action is done. Actions\CreateAction::make(), Actions\Action::make("check_status") ->label("Check SSH status") ->action(function (array $data): void { foreach ($this->getTableRecords() as $record) { $record->sshStatus=true; sleep(1); } })
7 replies
FFilament
Created by JoseBravo on 11/20/2023 in #❓┊help
Async status
Nevermind, I think this will work like this: ->formatStateUsing(fn (string $state, Page $livewire): string => isset($livewire->states[$state]) ? $livewire->states[$state] : "Checking..." )
7 replies
FFilament
Created by JoseBravo on 11/20/2023 in #❓┊help
Async status
But I don't know where I should define the data array, in the Resource where I have the table method? Or in the ListRecords page? formatStateUsing is a method that I can use within the $table->columns() function in my Resource. I assume that the data array should be an attribute of the ListRecord page, because the conent of this array should be manipulated by the action (which is other function/method)
7 replies
FFilament
Created by JoseBravo on 11/20/2023 in #❓┊help
Async status
Any help will be really appreciated
7 replies