Data dodania Pytanie
2017-11-14 10:11 MySQL Variables in Eloquent Query »
I have a question about Eloquent Builder in Laravel $query = EntryUserVote::query() ->join('users', 'challenge_entry.user_id...
(1) odpowiedzi
2017-11-13 18:11 Laravel: How to get custom sorted eloquent collection using whereIn method »
I have an array of product ids against which I need to retrieve the model collection. The array is something like this: $ids = array(9, 2, 16, 11, 8,...
(2) odpowiedzi
2017-11-13 16:11 UnexpectedValueException Could not parse version constraint when trying to instal laravelcollective »
I am new to laravel and I am trying to install laravelcollective. I am just following to documentation here and I am using this from my project direct...
(2) odpowiedzi
2017-11-13 12:11 Validate that exposed primary/foreign keys in a form are intact »
I have a Survey form. Every question has 3-4 pre-defined answers as radio buttons. The value of a radio button is the primary key of the answer in the...
(3) odpowiedzi
2017-11-12 22:11 Laravel - VueJS Replies not displaying »
I have a problem where I have been stuck with for a long time, I've tried asking it on Laracasts and even on here, but I just can't find the answer. I...
(0) odpowiedzi
2017-11-12 19:11 My Javascript code is not running in laravel »
I am working on a Laravel project and my Javascript code is not wording. I have applied the alert and it is not showing. When the user will click the ...
(1) odpowiedzi
2017-11-12 07:11 Check Composer Install in My Local PC or Not »
I am new in laravel, so i need to know composer install my local pc. I also new in gitbash. ...
(2) odpowiedzi
2017-11-11 19:11 MethodnotallowedExeption when I patch from previous post route »
First of all its not the entry level error that I am sending a request to a wrong route verb. My case its this: I have a post route Route::post('/u...
(3) odpowiedzi
2017-11-11 15:11 Laravel: What is the purpose of the `loadMissing` function? »
The first sentence of the Eager Loading section from the Laravel docs is: When accessing Eloquent relationships as properties, the relationship ...
(2) odpowiedzi
2017-11-11 13:11 Laravel 5.5 custom exception handling »
I'm using Laravel 5.5 and am new to it. As concerns error handling, I found that Laravel has many facades and features built-in, however, I seem not t...
(1) odpowiedzi
2017-11-10 18:11 Confusing situation LARAVEL »
I am in a very confusion situation I have a controller logic like this public function book(Request $request) { //setting API class $business = ...
(1) odpowiedzi
2017-11-10 17:11 Laravel 5.5 Eloquent not putting quote marks around a search string »
I am trying to pass a value from the URL to a controller to get data with the string from the URL, here is the route that passes the data to the contr...
(2) odpowiedzi
2017-11-10 15:11 Laravel schedule - hourly, daily - understanding when exactly start »
Example from Laravel documentation: protected function schedule(Schedule $schedule) { $schedule->call(function () { DB::table('recent_...
(2) odpowiedzi
2017-11-09 16:11 Now to rename input password in Laravel 5.4? »
I have a project for Laravel which includes wordpress. They have a common database. When registering the user, the data is entered into the user table...
(1) odpowiedzi
2017-11-09 09:11 Laravel PHPUnit failing on ALTER TABLE using SQLite »
I have a migration which I made at the beginning of my project, basically adding a TEXT column called 'description' which is set to NOT NULL. Now sev...
(1) odpowiedzi
2017-11-09 06:11 Generate Factory in Laravel 5.5 »
I ran below command php artisan make:factory AddressFactory I am getting below result $factory->define(Model::class, function (Faker $faker) { ...
(1) odpowiedzi
2017-11-09 03:11 How to switch between two different php version with composer »
I've got a lot of research about it but I found nothing that can help my problem. I'm developing a project for now using laravel5.1 and I'm using PHP5...
(1) odpowiedzi
2017-11-08 20:11 How to exclude CSRF token for specific domain? »
I am hoping to disable CSRF verification tokens for a specific domain. For example, my EC2 instances. This is so that I can run live-cross browser tes...
(2) odpowiedzi
2017-11-08 15:11 Image persisting in my database but not displaying on the frontend »
I am working on a project with Laravel 5.2. I need to create, edit and display user profile. The user profile should have an uploaded user image. Belo...
(1) odpowiedzi
2017-11-08 05:11 Laravel eloquent - Model::all() method give all result including soft deletes »
when I select all records using eloquent Model::all() method it's give me soft delete record too. Model class protected $table = 'tr_fl_tax_char...
(3) odpowiedzi
2017-11-07 11:11 Accessor for Pivot-Column in Laravel 5.5 »
My database looks like this: dishes (id, image) dish_location (location_id, dish_id, dishcard_sharing) locations (id, name) The columns image and ...
(1) odpowiedzi
2017-11-07 10:11 Type error: Argument 1 passed to Illuminate\Database\Eloquent\Builder::create() must be of the type array, null given »
i am trying to post title and article in laravel rest api i am getting this error Type error: Argument 1 passed to Illuminate\Database\Eloquent\...
(1) odpowiedzi
2017-11-07 07:11 How to Build Autocomplete Multiple tagging in laravel »
I have to build Autocomplete multiple tagging with laravel. Did research a lot but stuck with the problem. I also read the laravel tags and also going...
(1) odpowiedzi
2017-11-06 14:11 Laravel form update file is null »
i was just trying to upload my file to laravel This is my upload view <form action="/DoUpload" method="post"> {{ csrf_field() }} <i...
(2) odpowiedzi
2017-11-06 13:11 Laravel 5.1.11 Post requests not working »
in my codes all get requests is working properly but not same for post methods. This is work Route::group(['middleware' => 'oauth'], function () ...
(3) odpowiedzi
2017-11-06 06:11 Creating new Associative collection and adding new items in laravel »
Here's my sample code. $users = 3 users //suppose $leaders = new Collection(); foreach($users as $user) { $name = $user->name; $username...
(1) odpowiedzi
2017-11-05 22:11 #attributes vs #original in Laravel when dd() »
In my Laravel code, when I am processing the records somewhere in the code I am adding new attributes to the array (ex. $obj->newAttr=someContent), la...
(1) odpowiedzi
2017-11-05 16:11 Laravel menu based on role? »
i have codeigniter background. Now, i'm learning about laravel. So, i'm in this condition (Example), I'm trying to create a webapp, which has multiple...
(2) odpowiedzi
2017-11-05 11:11 Laravel: How to verify if model was changed »
Is there a simple way for the Eloquent save method to check if a row has actually changed? Something like affected_rows for Eloquent? The only worka...
(3) odpowiedzi
2017-11-04 15:11 Issue with Laravel schedule task »
Kernel file namespace App\Console; use DB; use Log; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as Conso...
(1) odpowiedzi
2017-11-04 14:11 Intercept dynamic function calls (like laravel HasAttribute trait) »
Consider the follow class A: public class A { //... } and the following snippet: $a = new A(); $value = $a->getFooValue(); As you can see g...
(1) odpowiedzi
2017-11-04 00:11 how to check if a specific array key is exist in multidimensional array »
if i'm accessing an index like that $var = $final_Length_Array[1][0]['id']; how to check whether the "id" key index exist in the array or not. i t...
(1) odpowiedzi
2017-11-03 22:11 Laravel 5.5 Login errors not showing up »
Here is my login.blade.php @if(Session::get('errors')||count( $errors ) > 0) @foreach ($errors->all() as $error) <h1>{{ $error }...
(3) odpowiedzi
2017-11-03 14:11 Laravel return view not sending data, but echo view works »
I've stumbled across a rather strange issue. return view('myview', $data); works for everything except one unique set of route parameters. For example...
(1) odpowiedzi
2017-11-03 12:11 Laravel 5.5 | Tags only appear in the last post? »
I want to display tags of the posts , but when I tried to display, tags only appear in the last post. Here my codes; BlogController; public functio...
(1) odpowiedzi