Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.06 KB

TODO.md

File metadata and controls

21 lines (16 loc) · 1.06 KB

Todos

  • Write tests
    • Test events
  • Better docblock and inline-commenting
  • Make code style consistent
  • Drop develop branch and just have master and tagged releases
  • Add check that model uses softDelete trait when using with_trashed (see issue #47)

Planned changes (possibly BC-breaking) for next major version - 4.0

  • switch default slugging method from Str::slug to an external package/class that can handle transliteration of other languages (e.g. https://github.com/cocur/slugify)
    • provide interface into cocur/slugify to allow for custom rules, etc.
  • convert findBySlug into a scope (as suggested by @unitedworks in #40)
  • more configurable unique options (see issue #53)
  • refactor, or remove, caching code (it wasn't really thought out well enough, IMO)
  • add events, e.g. eloquent.slug.created, eloquent.slug.changed, etc. (as suggested in #96 and #101)

Planned changes (possibly BC-breaking) for next major version - 4.3

  • remove unused $model argument from scopeFindSimilarSlugs