Skip to main content

Code Examples of CRUD

Discover how to use Laravel's CRUD method in real-world applications. Browse 2 examples from popular open-source projects.

2 examples

guillaumebriday/laravel-blog

  • 1800
  • Created Dec 2016
  • Updated Oct 2024

Files in this example

  • app/Http/Controllers/Admin/PostController.php
    • routes/admin.php
      • resources/views/admin/posts/create.blade.php
        • resources/views/admin/posts/edit.blade.php
          • resources/views/admin/posts/_form.blade.php
            • resources/views/admin/posts/index.blade.php
              • resources/views/admin/posts/_list.blade.php
View full example

JustinByrne/Mealing

  • 98
  • Created Oct 2020
  • Updated Sep 2022

Files in this example

  • app/Http/Controllers/IngredientController.php
    • routes/web.php
      • views/admin/ingredients/index.blade.php
        • resources/views/admin/ingredients/create.blade.php
          • resources/views/admin/ingredients/edit.blade.php
            • resources/views/admin/ingredients/show.blade.php
View full example