Laravel 5 custom authentication

Laravel, Laravel 5, 2015-06-17 00:03:22 UTC
Laravel by default has its own authentication system. Just use it and you can start creating your application. But, sometimes this is not fit your need. Here I want to show you how to create custom authentication. For make this simple, I start from basic Laravel 5 authentication system, edit it and

Configuring the Laravel 5 environment

Laravel, Laravel 5, 2015-06-17 00:02:37 UTC
This topic is quite interesting. Because you must not skip configuring you application when you develop with Laravel. Before I wrote this tutorial, I do research on this topic. I just found a little tutorial and the tutorials are not easy to understand. So I write this tutorial. Then you can set yo

Trick: Inserting data into database without seeder

Laravel, Laravel 5, 2015-06-16 23:58:11 UTC
In some case I found around the web, "php artisan db:seed" command doesn't work. Many of them confused what happened. There are no complete explanation to correct the error. So, I came into my solution inserting data without seeder. Before you start, please make sure you have users table in your d

Step-by-step: Laravel 5 authentication

Laravel, Laravel 5, 2015-06-16 23:57:33 UTC
By default, Laravel 5 has included authentication system in the application. It's located in "app/config/auth.php". But before you begin with Laravel 5 authentication, you must have a Laravel 5 application. If you don't have it one, you can follow very simple steps here. Lets start creating authent

Step-by-step: How to install Laravel 5

Laravel, Laravel 5, 2015-06-16 23:56:19 UTC
1. Download Laravel installer using composer; $ composer global require "laravel/installer=~1.1" 2. Open ~/.bashrc $ nano ~/.bashrc 3. Add a line like below export PATH="$PATH:~/.composer/vendor/bin" 4. Create your first Laravel 5 application $ laravel new FirstApp Or, you can create an

Create your own library on Laravel

Laravel, 2015-06-16 23:29:45 UTC
Repeatedly writing code is a bad habit. Sometimes we also need a specific code to be used on another project. To organize the code, we can do an approach that is widely known as library. Here's how to create your own library on Laravel; 1. Open up /app/start/global.php file and add 'library folder'

Setting up the Laravel Environment

Laravel, 2015-06-16 23:07:21 UTC
You must make a lot of changes to the application that you created. The application can be uploaded to the server via FTP or git pull. By creating an environment setting works, you don't need more time manually setting either on a local or online server. By creating an environment setting, the application decides themselves where they run now and run related settings. You can easily setting up the Laravel environment by these way; 1. Open /bootstrap/start.php $env = $app->detectEnvironment(array( 'local' => array('your_local_virtual_domain_name','other_name'), 'production' => array('') ));