Public demo: nothing is sent to any provider and the data resets regularly.

Çalışma Şekli

Bu yazı laravel-slug ile Türkçe başlıktan üretilen bir slug taşır.

Edit

Ids and slug

Database id
1
Sqids (URL)
/posts/Uk
Hashids
jR with HASHIDS_SALT
Slug
calisma-sekli, also reachable at /blog/calisma-sekli (301 to the canonical URL)

PHP compatible Hashids

HashidsManager with the salt "this is my salt" encodes [1, 2, 3] as laHquq, exactly like PHP's (new Hashids('this is my salt'))->encode(1, 2, 3), so ids stay valid when an application moves from PHP to Rust.

How the page is built

// GET /posts/{post}, {post} is a Sqids id
pub async fn show(Bound(post): Bound<Encoded<Post>>) ..

// Breadcrumbs with the loaded title, plus JSON-LD in <head>
breadcrumbs.generate("post", &Params::new().with("title", &post.title))?

// The body is purified when stored and again when shown
{{ post.body|purify("blog") }}

History

Recorded by laravel-revisionable from the model's Updated events.

No changes yet. Edit the post to start its history.

Özkan Özcan

Available for new projects

Hire the developer behind these packages

I am Özkan Özcan. I ported, tested and published every package in this demo, and I can do the same for your code:

  • Port your Laravel package or application to Laravel Rust
  • Move one slow service first and keep the rest in PHP
  • Priority support and custom features for any OzSuite package
Start a project See my services

I reply within one working day.