questions/web-development/laravel
Hello @kartik, If you have a collection you ...READ MORE
Hii, Try this command: php -S localhost:8000 -t public Then ...READ MORE
Hii, Filters can be passed parameters, like the ...READ MORE
Hello @kartik, Try to use Form::button instead of ...READ MORE
Hii, You can created the function below: public static ...READ MORE
Hello, using the model. just like this User::where('username','John') -> ...READ MORE
Hello, You can override the static label method ...READ MORE
Hello, To do the same as mail() PHP ...READ MORE
Hello, Try this, it is worked for me, ...READ MORE
Just add it as the 3rd argument: {{ ...READ MORE
You can use unique Example 'email' => 'unique:users,email ...READ MORE
Hello, normally override newQuery() for this. newQuery() is the method that Eloquent ...READ MORE
Hello @kartik, your laravel connexion (config / database.php) ...READ MORE
Hello @kartik, The cleanest way to know the ...READ MORE
You can get all columns name by ...READ MORE
Hello @kartik, You can calculate the distance in ...READ MORE
Hello @kartik, You can update the cache object ...READ MORE
Hello @kartik, You can simply use: Artisan::output() READ MORE
Hello @kartik, Restart Beanstalk: sudo service beanstalkd restart ...READ MORE
Hello @kartik, Delete an existing Model $user = User::find(1); $user->delete(); Deleting ...READ MORE
Hello @kartik, You'll need to adjust your exception ...READ MORE
Hello @kartik, You can generate parentheses by passing ...READ MORE
Hello @kartik, You can't do it by default ...READ MORE
Hello, In app/config/session.php you have: lifetime option that allow you to set session ...READ MORE
Hello, After update do: chmod -R gu+w storage chmod -R ...READ MORE
Hello @kartik, You create realtionship between both table friend and user in ...READ MORE
Hello, Make directory for images in myapp/public/images and ...READ MORE
Hello @kartik, You can pass the route parameters ...READ MORE
Hello @kartik, Usually, this is used in Blade ...READ MORE
Hello @kartik, 1.You can create a new route ...READ MORE
Hello @kartik, If your model is filled with ...READ MORE
Hello @kartik, When you try to access a ...READ MORE
Hello @kartik, Just add ->where('id', '[0-9]+') to route where you ...READ MORE
I am using react routers within Laravel ...READ MORE
Hello, If you place database config on the database.php file, ...READ MORE
Hello @kartik, your directory path is wrong. You ...READ MORE
Hello @kartik, You can create a .yarnrc file with the ...READ MORE
Hello, In Laravel 5.1 or higher you can ...READ MORE
Hii, You can simply use: $new_collection = $collection->merge($other_collection). Hope it ...READ MORE
Hello @kartik, First Create seeder with artisan: php artisan make:seeder ...READ MORE
Hello @kartik, You may rename the test folder ...READ MORE
Hii, You can also tell Laravel you want ...READ MORE
Hello @kartik, When you define this route: Route::get('events/{id}/remind', [ 'as' ...READ MORE
Hello @kartik, Try using this code: public function up() ...READ MORE
Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE
Hello, You need to customize the request $data = ...READ MORE
Hello @kartik, You can use this type of ...READ MORE
Hello @kartik, You can use less code, writing ...READ MORE
Hello @kartik, There has been a couple of ...READ MORE
Hello @kartik, Simply,we can use Model::whereNotNull('sent_at'); Or Model::whereRaw('sent_at is not null'); Thank ...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.