Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

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

  • 1797
  • 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

  • 99
  • 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

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.