Skip to main content

Code Examples of MdMostaFizurRahaman/ecommerce

Discover how to use Laravel's MdMostaFizurRahaman/ecommerce examples.

6 examples

Observers

Files in this example

  • app/Observers/OrderItemObserver.php
    • app/Providers/ObserverServiceProvider.php
View all examples

Service providers

Files in this example

  • app/Providers/ObserverServiceProvider.php
    • config/app.php
View all examples

Custom artisan commands

Files in this example

  • app/Console/Commands/GenerateSuperAdmin.php
View all examples

API resources

Files in this example

  • app/Http/Resources/ApiResource.php
    • app/Http/Controllers/Api/ProductController.php
View all examples

Enum

Files in this example

  • composer.json
    • app/Enums/AddressType.php
      • app/Models/Delivery.php
View all examples

Polymorphic relationships

Files in this example

  • database/migrations/2021_10_30_003131_create_addresses_table.php
    • app/Models/Address.php
      • app/Traits/InteractsWithAddress.php
        • app/Traits/CreateCustomer.php
          • app/Traits/InteractsWithOrder.php
View all examples

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.