Saifulapm
Saifulapm
Explore posts from servers
FFilament
Created by Saifulapm on 4/19/2024 in #❓┊help
Using a custom user model in Export action
Hi.. I am trying to use Admin model with export action. I see this documentation: https://filamentphp.com/docs/3.x/actions/prebuilt-actions/export#using-a-custom-user-model But I am little confused.
use App\Models\Admin;
use Illuminate\Contracts\Auth\Authenticatable;

$this->app->bind(Authenticatable::class, Admin::class);
use App\Models\Admin;
use Illuminate\Contracts\Auth\Authenticatable;

$this->app->bind(Authenticatable::class, Admin::class);
When I should bind this ? In AppServiceProvider ? Can any help me ? I just want to use App\Models\Admin model instead of user model.
7 replies
CDCloudflare Developers
Created by Saifulapm on 11/14/2023 in #general-help
how to add border with Cloudflare Inages
Hello, I am trying add border with cloudflare images. But documentation not clear to me. Can anyone help with this ? https://developers.cloudflare.com/images/cloudflare-images/transform/flexible-variants/#border Note: I am cloudflare free plan so I don’t have cloudflare image resizing. I want to just use cloudflare images with worker. In cloudflare images documentation showing workers cf object but don’t know how to use with worker ‘’’ cf: {image: {border: {color: "rgb(0,0,0,0)", top: 5, right: 10, bottom: 5, left: 10}}} cf: {image: {border: {color: "#FFFFFF", width: 10}}} ‘’’ Any idea how I can use border without cloudflare image resizing ? Thanks everyone
3 replies