96494/how-can-i-find-the-current-language-in-a-laravel-view
Hello @kartik,
The cleanest way to know the current language of your website in Laravel appears to be :
Lang::locale();
It's different than this command that will return the default language of your website :
Config::get('app.locale');
Hello @kartik, If it isn't already there, create ...READ MORE
Hello @kartik, You can use : sha1(time()) Explanation: sha1 is ...READ MORE
Hello @kartik, You should create a new migration ...READ MORE
Hello @kartik, Try this: $query = DB::table('node'); if ($published == ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, This is the way how to ...READ MORE
Hello, To create both of the created_at and updated_at columns: $t->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $t->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP on update ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.