camya / filament-title-with-slug

"Title With Slug" Input - Easy Permalink Slugs for Filament Forms (PHP / Laravel / Livewire)
MIT License
130 stars 39 forks source link

URL host as suffix (to support subdomains as slugs) #7

Closed iDiegoNL closed 1 year ago

iDiegoNL commented 1 year ago

Hey,

Awesome package. I've been using it for a few days now, and I'm loving the features. However, I am missing a feature that could make it a little better. For a project that I'm working on, I am using slugs as subdomains. So e.g. slug.laravel.test. From what I can see, it currently only is possible to use slugs as paths, e.g. laravel.test/slug.

It would be awesome if something like the following could be implemented: image

camya commented 1 year ago

Nice idea. I implemented the feature already and committed it to main. Feel free to test it on the main branch.

Documentation "Use the slug as subdomain"

Have a nice day. I update the release next week.

camya commented 1 year ago

Added in https://github.com/camya/filament-title-with-slug/releases/tag/v0.5.3