ringlesoft / laravel-process-approval

Laravel Process Approval is a Laravel package that makes it easy to add approvals to your Laravel application. It allows you to define approval workflows for any model, and it provides a simple and easy-to-use API/UI for managing approvals.
http://ringlesoft.com/packages/laravel-process-approval
MIT License
194 stars 23 forks source link

Vendor Publish tag "Ringlesoft/LaravelProcessApproval" in README shows no publishable resources #13

Closed mercury64 closed 8 months ago

mercury64 commented 8 months ago

Does not work:

php artisan vendor:publish --tag="Ringlesoft/LaravelProcessApproval"  

   INFO  No publishable resources for tag [Ringlesoft/LaravelProcessApproval].  

This does:

php artisan vendor:publish                                            

 ┌ Which provider or tag's files would you like to publish? ─────────────────────────────┐
 │ ringle                                                                                │
 ├───────────────────────────────────────────────────────────────────────────────────────┤
 │   Provider: RingleSoft\LaravelProcessApproval\LaravelProcessApprovalServiceProvider   │

   INFO  Publishing assets.  
   INFO  Publishing assets.  

  Copying directory [vendor/ringlesoft/laravel-process-approval/resources/views] to [resources/views/vendor/ringlesoft/process_approval]  DONE
  Copying file [vendor/ringlesoft/laravel-process-approval/config/process_approval.php] to [config/process_approval.php] ............. DONE

Update to README document needed?

alguintu commented 8 months ago

Having this issue as well. Also, trying to publish migrations since my tables are all using uuids, but can't.

ringunger commented 8 months ago

@mercury64 you were supposed to use --provider instead of --tag.

ringunger commented 8 months ago

@alguintu I have enabled publishing migrations in version 1.0.6. Please update to the latest version and use the command:

artisan vendor:publish --provider="RingleSoft\LaravelProcessApproval\LaravelProcessApprovalServiceProvider" --tag="approvals-migrations"

Thanks for reporting.

ringunger commented 8 months ago

Version 1.0.6 allows publishing of config, migrations and vies. This should resolve the issue.