vlados / laravel-unique-urls

A package for using and generating unique urls for each Eloquent model in Laravel
MIT License
0 stars 0 forks source link

Feature/add rebuild command #51

Closed vlados closed 1 year ago

vlados commented 1 year ago

πŸ“ docs(README.md): add Commands section with urls:generate and urls:doctor commands and their usage 🚨 chore(README.md): fix typo in Commands section

🚚 refactor(UrlsDoctorCommand.php): rename UrlsGenerateCommand to UrlsDoctorCommand πŸ”§ chore(UrlsDoctorCommand.php): remove unused options from signature πŸ”§ chore(UrlsDoctorCommand.php): change public property to private and add errors array πŸ”§ chore(UrlsDoctorCommand.php): add use statement for HasUniqueUrls trait πŸ”§ chore(UrlsDoctorCommand.php): add use statement for ReflectionMethod class πŸ”§ chore(UrlsDoctorCommand.php): add use statement for Model class from Eloquent πŸ”§ chore(UrlsDoctorCommand.php): update description of the command

πŸ› fix(UrlsDoctorCommand.php): remove unused deleteUrls method πŸ” test(UrlsDoctorCommand.php): add checks for urlHandler and urlStrategy methods in models 🚨 chore(UrlsDoctorCommand.php): add error messages for failed checks in urlHandler and urlStrategy methods

πŸ› fix(UrlsGenerateCommand.php): rename class from RebuildUrlsCommand to UrlsGenerateCommand ✨ feat(UrlsGenerateCommand.php): add support for --only-missing and --fresh options πŸ”₯ chore(UrlsGenerateCommand.php): remove commented out line

πŸ› fix(HasUniqueUrlAttributes.php): make getRelativeUrlAttribute and getAbsoluteUrlAttribute return string|null ✨ feat(HasUniqueUrlAttributes.php): add null check to getSlug method πŸ”§ chore(LaravelUniqueUrlsServiceProvider.php): replace RebuildUrlsCommand with UrlsGenerateCommand and UrlsDoctorCommand

vlados commented 1 year ago

close #49 #50