Author: Admin

  • Pagination

    Pagination helps managing large datasets by fetching and displaying smaller chunks instead of all at once. Because when you fetch thousands of records at once it can overwhelm your browser. Pagination limits the number of records retrieved and displayed per page, improving performance and user experience. Implementing Pagination If you have the “web.php” routes file…

    Read More

    //

  • Factories

    You can use Factories to quickly scaffold example data. Meaning that you can very easily create a few dozen to hundreds or even thousands of rows / entries of example data in a database table. Create a Factory Here’s how you can create a factory (command prompt): This will create a “PostFactory” Factory class in:…

    Read More

    //

  • Migrations

    A migration displays a table in a database. What’s special about this is that this is written in PHP and you can directly access it from your project folder / code editor.In Laravel it will automatically create them for you to a certain extend. You can find all these migrations in the following directory: database->migrations.…

    Read More

    //