Category: Laravel

  • 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.…

    Zum Beitrag

    //

  • Eloquent

    Eloquent is an ORM (Object Relational Mapper). An ORM maps an object in your database, like a table row, to an object in PHP code. This is Laravel’s Active Record implementation.Now an important thing to remember the Class is the singular form of the Table name. For example: Now if for example you have a…

    Zum Beitrag

    //

  • Artisan

    artisan help “php artisan help” doesnt work on it’s own, it displays information an a given command but as mentioned for that you also need to provide the command you want help with. For example: “php artisan help make:model” or “php artisan help migrate” and so on.It displays information on all the different variations of…

    Zum Beitrag

    //