I use Laravel Scout to offload some of the work. Scope scopeIsPublished has an easy boolean check against the database like this:.
確定! 回上一頁