Showing posts with label beginner. Show all posts
Showing posts with label beginner. Show all posts

How to insert, update and delete in Laravel


If you are just learning about laravel, meaning you are beginner of laravel, you probably want to know about how to do insert, update and delete record of a database table in laravel. If you are beginner this short tutorial is for you.

php artisan migrate command in Laravel


The 'php artisan migrate' command lets you run the database migration on your application, but there is more than that, there are other variant of this command that you can use such as rollback, reset, refresh, status, install and so on.

Laravel 5.2 directory structure


Laravel 5 have completely different directory structure than laravel 4, so if you want to switch your application to laravel 5, you can start by learning the directory structure first. In this article i will show directory structure in laravel 5.2, but it should be compatible with other version of laravel 5.

How to get table prefix in Laravel 4.2


On your database configuration (app/config/database.php), you can specify a prefix for every table that you use on your database, the question is how to get this table prefix dynamically without making it hardcoded.

Laravel 4.2 directory structure


When you first learn about laravel you need to understand the directory structure of laravel, this article i will explain little bit about directory structure in laravel 4.2, this tutorial is for beginners learning about laravel 4.2.

Category

Category