Data dodania Pytanie
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 15:08 Is starting route grouping with namespace() not allowed in Laravel 5.4? »
Using Laravel 5.4, indeed in the documentation about Route grouping, and an example as this was given about namespacing: Route::namespace('Admin')-&g...
(5) 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 09:08 Merge objects of an array in PHP using Eloquent »
I have a collection of objects grabbed out of my DB using Laravel's Eloquent ORM ( I am not using Laravel just integrated Eloquent into my own Framewo...
(1) odpowiedzi
2017-08-09 08:08 Laravel return include partitial into controller »
I have made a partial for a button, now i made a lister with Datatables. You can add a column, in my example its a edit button. Is it possible to re...
(1) 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 23:08 laravel resource controllers / routes and models »
So if you do something like $ artisan make:model TurboClown $ artisan make:controller TurboClownController -r --model=TurboClown So at this point i...
(1) odpowiedzi
2017-08-08 13:08 laravel command not found setting path does not work »
I am have installed laravel via composer using the following procedure in my Ubuntu 17.04 running on the latest Oracle Virtualbox: Steps: 1) compos...
(2) 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 20:08 Laravel Collections: Shift Value *and* Key? »
Do the laravel collection methods (or PHP array methods, for that matter) have a way to shift off the first key/value pair of a collection? That is,...
(3) odpowiedzi
2017-08-07 13:08 Laravel: Query to return data depending the ID I pass in URL »
First of all excuse me if when you read all the question you think isn't clear or question should be edited, please, make a edit and i will accept it....
(2) odpowiedzi
2017-08-07 09:08 php - How to use laravel explode from the slash (/) and get the last word »
Hi im really newbie in Laravel. So i really need some help, i need to get the last word from $report->reportable_type and from the reportable_type it ...
(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-06 22:08 Verify the integrity of the Google ID token by Php (Laravel) »
I'm developing an application which has two sides: mobile side(IOS) and server-side (PHP, Laravel 5.4). I'm using google's own class to generate the g...
(0) 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 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-06 16:08 Possible? Assign blade template to variable »
I want to assign a blade template to a variable in blade for code organization. So basically let's say I have the variable $response['actions'] And ...
(1) odpowiedzi
2017-08-06 10:08 How to show message after filter in laravel? »
After selecting Filter,I want to show summary tab/message what we selected. I googled it and found session method, is it suitable in my case? Here is ...
(1) odpowiedzi
2017-08-06 00:08 Get link to profile in Socialite? »
I am trying to get a way to unique identify a Facebook profile using socialite for laravel. I have looked through all of their documentation but it do...
(1) odpowiedzi
2017-08-05 22:08 How to get only the current date and the previous dates in laravel? »
I am trying to get only the current dates and the previous dates.Here is how i tried $jobseekers = Calllog::orderBy('calllogs.created_at','DESC') ...
(3) 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 13:08 Can i use header column search datatables laravel instead of footer column search »
the following script shows the search boxes on table footer section initComplete: function () { this.api().columns().every(functi...
(0) odpowiedzi
2017-08-05 08:08 Laravel - multiple value in where clause »
I need to do search using laravel 5.4. I have next fields to search I want to search this 7 fields. I use this query: if ($categoryIn <> '' A...
(1) odpowiedzi
2017-08-05 07:08 How can I get the name of comments' author? »
Here is my table structure: -- users +----+-------+ | id | name | +----+-------+ | 1 | John | | 2 | Jack | | 3 | Peter | +----+-------+ -- pos...
(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 13:08 Is there something like action throttle in Laravel 5.4? »
Searching on internet, in documentation, routes etc, using search box, and I can find only throttling for authentication. I have create topics for so...
(2) 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 07:08 Laravel Eloquent Find Not Working When Given String Model »
I have A Model In Laravel stored in variable as String. $model = "App\Models\City"; What I want is $model::find(1) to fetch the City with ID of ...
(3) 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 18:08 Create topic for category with CRUD resource concept of Laravel »
I have categories in Route::resource('category', 'CategoriesController'); And each category have topics, topics under Route::resource('topic', 'Topi...
(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 5.4 MultiSite with Queues per site »
My Laravel is setup with a MultiSite Middleware Provider that checks the subdomain of the address and based on this subdomain changes the connection o...
(0) odpowiedzi