laravel package development code example

Example 1: publish config laravel

php artisan vendor:publish --provider="PWParsons\PayGate\PayGateServiceProvider" --tag="config"

Example 2: laravel packages

1. https://github.com/bavix/laravel-wallet
2. https://spatie.be/docs/laravel-permission/v3/introduction
3. https://github.com/spatie/laravel-medialibrary
4. https://github.com/Crinsane/LaravelShoppingcart
5. https://github.com/dipeshsukhia/laravel-country-state-city-data
  <----------------------- OR ------------------------->
  https://github.com/khsing/laravel-world
6. https://github.com/tightenco/ziggy
7. https://github.com/coderello/laravel-shared-data
8. https://github.com/anandsiddharth/laravel-paytm-wallet
9. https://github.com/srmklive/laravel-paypal
10. https://github.com/unicodeveloper/laravel-paystack  // Use developer version for latest code
11. https://github.com/barryvdh/laravel-debugbar

Example 3: Laravel package development

$ php artisan vendor:publish --provider="JeroenG\Packager\PackagerServiceProvider"

Example 4: Laravel package development

JeroenG\Packager\PackagerServiceProvider::class,

Example 5: Laravel package development

$ composer require jeroen-g/laravel-packager --dev

Tags:

Php Example