Data dodania Pytanie
2017-08-11 08:08 How to send password to server using vue or javascript? »
I have created vue components for login and registration. How do I send password to the server?? Should I just encrypt the password using bcrypt on th...
(1) odpowiedzi
2017-08-11 08:08 How to filter my data in laravel 5.4? »
I have 3 tables: products productcolors productbrands The relationships between them are: a product has many productcolors; productbrands belong...
(3) odpowiedzi
2017-08-11 04:08 Export CSV using Laravel via Ajax »
I have a export csv function, it worked fine with laravel. But now I want to call export function via ajax and use method post, but I there is no resp...
(2) odpowiedzi
2017-08-11 02:08 Laravel CSRF token empty in AJAX-rendered content »
"laravel/framework": "5.4.*", "laravelcollective/html": "^5.4", I have a view partial that contains delete buttons, and is rendered both normally and...
(1) odpowiedzi
2017-08-10 18:08 Laravel 5.4 fopen(): Filename cannot be empty »
I want to upload image in laravel 5.4 Here's the code: if ($request->hasFile('image') && $request->image->isValid()) { $imag...
(0) odpowiedzi
2017-08-10 15:08 Laravel Mix - Including/loading JavaScript files sequences issue »
I am new to Laravel mix and I am trying to port a current app to Laravel. My issue is when I try to access a function that is in a different Javascrip...
(0) odpowiedzi
2017-08-10 13:08 How to get extra fields from pivot table - laravel »
I have create a Pivot model and table for laravel and added extra field to the pivot model. But the extra field is not displaying when calling pivot d...
(2) odpowiedzi
2017-08-09 19:08 Laravel get user_id from others tables for store »
I have 4 tables :- User id username password email available_offers id date time from to requested_routes id user_id available_offersID r...
(1) odpowiedzi
2017-08-09 11:08 JST alternatives for Laravel »
Before Laravel 5.4 I used to use "JST" (Javascript Templates) by loading it using gulp. https://www.npmjs.com/package/gulp-jst2 However, in 5.4 Lara...
(0) odpowiedzi
2017-08-09 10:08 Laravel 5.4 How to update profile of applicant guest that is logged in »
I am new to laravel and I want to let the user update his/her profile when logged in. I want to get the ID of the user when updating his/her profile b...
(2) odpowiedzi
2017-08-09 01:08 How to overwrite eager loaded property in Laravel? »
If I have something like this: $book = App\Book::with('authorInfo')->first(); How can I set $book->authorInfo to a new value? I'vet tried to set...
(2) odpowiedzi
2017-08-08 14:08 Angular 2 Two way binding removes name attribute from html input tag »
When I am two way binding in input tag, name attribute gets removed from input tag. A binding element is an array. <div class="row" *ngFor="let bo...
(1) odpowiedzi
2017-08-08 10:08 Laravel 5: return other route path by name »
I need to return other route path by name (something like /home/{page?}), I tried Route() https://laravel.com/api/5.1/Illuminate/Contracts/Routing/Ur...
(2) odpowiedzi
2017-08-08 05:08 Display validation message Laravel 5.4 »
I have a validate like this : TitleRequest.php: public function rules() { return [ 'title_name_report' => 'required|min:2', '...
(2) odpowiedzi
2017-08-07 22:08 unable to display data from eloquent relationship with laravel 5.4 »
I want to display data from an eloquent relationship in my view but I seem to be doing something wrong. Here's my model relationship, controller and v...
(1) odpowiedzi
2017-08-07 07:08 How to seed in relation table »
I want to create some app like hockey teams ranks and matches. I think in matches table I must to have two foreign keys(first_team_id and second_team_...
(1) odpowiedzi
2017-08-07 05:08 Laravel Queue on Google App Engine »
I am looking into google app engine as a alternative to AWS ec2/ELB. One problem I see is that there isn't an obvious way to consume the laravel queue...
(0) odpowiedzi
2017-08-06 22:08 Laravel: Code searches mailable in the wrong place »
I want to send an email in my project. The action: public function priceQuotePost(Request $request){ $email = $request->email; Mail::to($...
(1) odpowiedzi
2017-08-06 21:08 show method called instead of destroy method in laravel datatables »
I'm having an issue with the laravel's datatables plugin, when I'm trying to delete an element from my datatables list it calls a show method, making ...
(1) odpowiedzi
2017-08-06 18:08 Class 'App\Http\Controllers\Post' not found »
I am new to laravel and I got exception descripted in title. I know that I need to "use App\Model_Name;". Please Help! This is Model Class <?php ...
(1) odpowiedzi
2017-08-06 17:08 Laravel 5.3 delete method gives methodNotAllowed with spoofing »
I am trying to use Laravel's (5.3) destroy method to delete an object when I push a button, however I'm getting a MethodNotAllowedHttpException. My r...
(2) odpowiedzi
2017-08-05 17:08 How to Keep selected value select after page reload in laravel? »
I dont know exactly how to do this. I have try tu put in Session using Session::put() and get the curent session with session::get() but still nothing...
(2) odpowiedzi
2017-08-05 10:08 Laravel 5.4 routing for same prefix group but different middleware giving error »
I need all the route under same prefix manager with one middleware for guest manager_guest and another for logged in user manager_auth. This code bell...
(2) odpowiedzi
2017-08-05 06:08 can't overwrite laravel elequent output's id field »
I can't overwrite the $user->id in the following code : $followers_list = follow::where('followed_id',$userId['userId']) ->get(); ...
(2) odpowiedzi
2017-08-04 17:08 Calling query builder methods from an eloquent model instance »
I am very new in Laravel and active records in general. I apologize in advance if this is a stupid question. But I would like to make sure if what I'm...
(1) odpowiedzi
2017-08-04 10:08 DB::transaction throw Undefined variable Error Exception »
Working on Laravel 5 DB::transaction but throwing following error: exception 'ErrorException' with message 'Undefined variable: tasks' Here is m...
(2) odpowiedzi
2017-08-04 06:08 Laravel 5.4 Session Timeout Redirect Path »
Where can i set the redirect path when session timeout? If i am not mistaken, by default, laravel will redirect to /login but instead of this, I want ...
(1) odpowiedzi
2017-08-03 21:08 Export huge data into xlsx »
I need to export a huge dataset from a MySQL database table with MYISAM engine into a .xlsx file in Laravel. I'm using the maatwebsite/laravel-excel ...
(1) odpowiedzi
2017-08-03 15:08 Laravel Queue - remembering property state? »
If a job failed, it will be pushed back to the Queue. Is there a way to remember the value of property in the job class when processing job again? Fo...
(0) odpowiedzi
2017-08-03 11:08 Laravel log in authentication even with wrong password »
It's a little bit confusing because I am new to laravel. It always redirect me to the applicant/login from the url of the action of the form that shou...
(3) odpowiedzi
2017-08-02 21:08 Laravel eloquent where pivot null or less than »
I have timestamp field, named closed, in pivot table for Many to Many relationship. I want to get items where closed is null or is less than a specifi...
(1) odpowiedzi
2017-08-02 20:08 String interpolation in laravel »
I tried all of this but can't predict interpolation read all points in official documentation but not yet found elegant solution- {{ url('/posts/' . ...
(2) odpowiedzi
2017-08-02 12:08 Iterating Carbon date inside loop »
In my Laravel project I want to create a array of next 7 days dynamically. I have following setup: $pickup_dates = []; $today = Carbon::today...
(3) odpowiedzi
2017-08-01 21:08 Get Category of the Ad from CategoryItems - Laravel 5.4 »
Could you please help me to get a Category name of the specific Ad (Post) from the CategoryItems table. Ad Model: public function cat() { return ...
(1) odpowiedzi
2017-08-01 08:08 Display user details with their average rating in laravel »
In my case, I have two table like users table and rating table. In user table, I'm storing user's personal details like name, email etc, In rating t...
(2) odpowiedzi