questions/web-development/laravel
Hii @kartik, Hashing A Password Using Bcrypt in Laravel: $password ...READ MORE
Hello @kartik, run rm -rf /usr/local/lib/node_modules/npm and then re-install ...READ MORE
Just add it as the 3rd argument: {{ ...READ MORE
Hello @kartik, The cleanest way to know the ...READ MORE
Hii, You can created the function below: public static ...READ MORE
Hello @kartik, This problem can generally occur when ...READ MORE
Hey, We can add that particular URL or ...READ MORE
Hello @kartik, I had a problem with the ...READ MORE
Hello @kartik, DB::raw() is used to make arbitrary SQL ...READ MORE
Hello @kartik, Use: sudo php artisan serve --host 192.168.1.101 ...READ MORE
Hello @kartik, lists() turns the resulting collection into an ...READ MORE
Hello @kartik, You need to give the full ...READ MORE
Hello, You need to customize the request $data = ...READ MORE
Hello @kartik, You can use request object: request()->server('SERVER_ADDR'); Or you ...READ MORE
Hello @kartik, If you really wanted to, you ...READ MORE
Hello @kartik, When you try to access a ...READ MORE
Hello @kartik, Use this command: php artisan migrate --path=/database/migrations/my_migration.php And ...READ MORE
Hello @kartik, You can change: @if (Cookie::get('cookiename') !== false) to @if ...READ MORE
Hello @kartik, You can use: Request::url() to obtain the current ...READ MORE
Hello @kartik, You should create a new migration ...READ MORE
Hii, You can create a constants.php page in config folder ...READ MORE
Hello, After update do: chmod -R gu+w storage chmod -R ...READ MORE
You could create another disk for Storage ...READ MORE
Hii, We have to use the following artisan ...READ MORE
Hello @kartik, I think you should use this ...READ MORE
Hello, normally override newQuery() for this. newQuery() is the method that Eloquent ...READ MORE
Hello @kartik, If your model is filled with ...READ MORE
Hello @kartik, Simply,we can use Model::whereNotNull('sent_at'); Or Model::whereRaw('sent_at is not null'); Thank ...READ MORE
Hello @kartik, You can use : sha1(time()) Explanation: sha1 is ...READ MORE
Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE
Hello @kartik, Using the response helper. use Illuminate\Http\RedirectResponse; $response = $next($request); $response = ...READ MORE
Hello @kartik, The use keyword is what you need: $id = ...READ MORE
Hello @kartik, I used to use this: composer require ...READ MORE
Hello @kartik, useState hooks function argument is being used ...READ MORE
Hello @kartik, The validation feature built into Laravel ...READ MORE
Hello, The main differnece between them is explained ...READ MORE
Hii, For Laravel 5, In the tests directory there should ...READ MORE
Hello, You could create a custom Laravel directive. You ...READ MORE
Hello @kartik, find this line in php.ini : ;extension=soap then ...READ MORE
Hello, To do the same as mail() PHP ...READ MORE
Hello, You have to use the package dotenv. Then ...READ MORE
Hello @kartik, First Create seeder with artisan: php artisan make:seeder ...READ MORE
Hii, You can also tell Laravel you want ...READ MORE
Hello @kartik, You could try this: public function testStoreAction() { ...READ MORE
Hey, In order to identify the type of ...READ MORE
Hii, Try this command: php -S localhost:8000 -t public Then ...READ MORE
Hello @kartik, Make sure you have already added ...READ MORE
Hello @kartik, If you have the token in ...READ MORE
Hello @kartik, Don't put the DB::insert() inside of ...READ MORE
Hello @kartik, The date_format validator takes only one date format ...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.