Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 921 Bytes

TODO.md

File metadata and controls

17 lines (13 loc) · 921 Bytes

Todos

  • Write tests
  • 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

  • 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)