Data dodania Pytanie
2017-04-11 07:04 Laravel - Problems with updating to Laravel 5.4. Way module share() error »
This is regarding Laravel and I am still pretty new to the framework. I recently updated my Laravel to 5.4. And I am running into the following error:...
(3) odpowiedzi
2017-04-10 23:04 Get properties from string miltilevel »
I want get value of laravel model my this $key = "name"; $this->$key; //returns the name but, i want get multilevel values, like this $key = ...
(1) odpowiedzi
2017-04-10 22:04 LARAVEL 5.4 access User obj from other class »
How to have access to a user object from the instance of another object ? I can access the projects of a user but not the author of the project. This...
(1) odpowiedzi
2017-04-10 16:04 Laravel 5.4 Route [project.view] not defined »
Alrighty, so I have a page in which I load my projects for visitors to watch: @extends('layouts.master') @section('title', 'Projects') @section('co...
(1) odpowiedzi
2017-04-09 21:04 Issue on creating a MAMP virtualhost »
I'm trying to create a MAMP virtualhost so that I can use my laravel project easier, but whatever I do I get " Not Found The requested URL / was not f...
(1) odpowiedzi
2017-04-09 12:04 Laravel 5.2 : set and get session with multiple variables »
I need to set an session with multiple variables and then get the session back in the next page. here what I try in controller public function post...
(1) odpowiedzi
2017-04-09 11:04 Laravel: How do I get data from this pivot table? »
SOLVED: answer posted below How can I get values from this pivot and specifications table? I want to display this in a template like: -Model (name ...
(1) odpowiedzi
2017-04-08 18:04 Eloquent casting attributes to Collections unexpected behaviour »
Q1. I have an Eloquent model that casts an attribute to a Collection. Calling Collection's method on this attribute doesn't affect the model values. E...
(2) odpowiedzi
2017-04-08 18:04 laravel database query max(date) getting all posts »
I am using Laravel 5.4, where i try to get the latest post, but for some reason if I want to select the title, I end up getting them all, can someone ...
(1) odpowiedzi
2017-04-08 12:04 Generate pdf with Bangla language using laravel-dompdf »
I am trying to use laravel-dompdf to generate a pdf of a html page which contains Bangla character. But after generating pdf Bangla characters are sho...
(0) odpowiedzi
2017-04-07 16:04 Laravel 5 configure timezone not define the timezone at postgres connection »
I have a question: How you usually work on timezone in the sites with laravel 5? Postgres is in localtime and the local timezone of my notebook is in...
(2) odpowiedzi
2017-04-07 08:04 Laravel 5.3 : hidden fields are returned in JSON response »
First of all I've searched the web for an answer and could not find any which quite astonished me. Maybe I did not search for the right terms, please ...
(1) odpowiedzi
2017-04-07 08:04 How to create session on html link click in laravel? »
In my laravel project I have a view-client page with link named "add contract" for that particular client.Here I have to send the client_id to "contr...
(0) odpowiedzi
2017-04-07 02:04 Laravel php get last element in multidimensional array »
I have the following json file with products details: "products": [ { "sku": 123, "name": "iphone 7", "categoryPath": [ ...
(2) odpowiedzi
2017-04-06 12:04 Laravel 5.4 custom join (raw sql) mapped to an Eloquent Model »
Can somebody tell me how i can map the result of a Join made with RAW SQL or the Query Builder to an Eloquent Model ? Teams has many Users who has Ma...
(1) odpowiedzi
2017-04-06 12:04 Laravel oauth user redirection after registration »
all. I'm just trying to implement Single sign-on server using Laravel and passport app. What I'm trying to achieve: A single sign-on server who liste...
(1) odpowiedzi
2017-04-06 10:04 make value of one( key value pair )to be key of another in angular js »
i am having a json response from which i wanted to create new json object response = [ {Detail:"Reuters ID",keyName:"Reuters_ID"}, ...
(3) odpowiedzi
2017-04-05 16:04 Eloquent MYSQL statement : WHERE NOT(A OR B) »
I`m working on date-range-overlap functionality that can be written in 13 positive conditions to check if the date intervals overlap : https://en.wik...
(1) odpowiedzi
2017-04-05 12:04 Laravel - Create custom name while uploading image using storage »
I am trying to upload a file using laravel Storage i.e $request->file('input_field_name')->store('directory_name'); but it is saving the file in...
(5) odpowiedzi
2017-04-05 12:04 How to make li class active dynamically in laravel? »
My HTML code is <div id="sidebar"><a href="#" class="visible-phone"><i class="icon icon-home"></i>Dashboard</a> ...
(2) odpowiedzi
2017-04-04 19:04 Laravel: Send Data to Controller via AJAX Without Form »
I need to send data via JS to a Laravel controller on a button click. I'm not using any form because the data is being created dynamically. Every tim...
(1) odpowiedzi
2017-04-04 14:04 How can i create deleted controller again with same name? »
Is it possible to create same deleted controller again with same name in laravel? I had one controller with name of SellerController, unfortunately i...
(1) odpowiedzi
2017-04-04 08:04 Multiple Where on Laravel not working »
Can anyone help me fix this code ? public function caritindaklanjut(Request $request){ $halaman="tindaklayanan"; $cari = '%'.$request->sea...
(2) odpowiedzi
2017-04-03 23:04 PhpStorm autocomplete Laravel 5 models »
I have installed Barryvdh class and the Laravel plugin for PhpStorm but I can't get the Models to autocomplete and PhpStorm throws warnings at me. I h...
(0) odpowiedzi
2017-04-03 22:04 Eloquent model inheritance hierarchy »
I have a case where 2 eloquent models should inherit properties from a User model, but the User itself should not exist as a standalone instance. (Men...
(1) odpowiedzi
2017-04-03 10:04 Row based Access control for Laravel Results »
I'd like to setup a row based access control on my laravel application (currently 5.2, waiting for 5.5 lts). This could be done in the controller, but...
(1) odpowiedzi
2017-04-02 16:04 Post request from another domain results TokenMismatchException »
I'm working with a bank api. The bank send a post request to my website but does not return there is not a token field is their request and I am face...
(1) odpowiedzi
2017-04-02 15:04 Laravel - belongsToMany with multiple tables »
I created 3 Database Tables: users - id - username - ... messages - id - title - message messages_user - messages_id - user_id - receive_u...
(1) odpowiedzi
2017-04-02 14:04 Laravel - diffForHumans in German »
I am trying to display the created_at attribute using Carbon's diffForHumans() in German in laravel 5.2. created_at is stored in the database as: 2017...
(1) odpowiedzi
2017-04-01 14:04 Can we store value of @yield in a variable »
I have a simple question can we store the value that will be yielded in a variable. for instance an example $var = @yield('title') If no, then is ...
(2) odpowiedzi
2017-04-01 12:04 Get json via laravel command - Failed to open stream »
I am writing a laravel command to read in reddit comments. I am running Laravel Framework version 5.2.45. My handle method looks like the following: ...
(1) odpowiedzi
2017-04-01 03:04 Continue PHP Operation After User Exits Early »
I'm using Laravel, PHP7, PHP-FPM, APCu and NGINX. I have an HTML form where a user can upload a file, it connects to Upload.php. File Process: val...
(1) odpowiedzi
2017-03-31 17:03 Laravel 5.3 - Pull data of polymorphic table in one query? »
Using the polymorphic relationship likeable, I have setup authors and books as likeable_type in likeable_items table. Here are the models: class Lik...
(2) odpowiedzi
2017-03-31 13:03 Type casting using string for type »
I have table settings with columns: value - varchar type contains setting value and type - enum type contains variable types "int", "string", "float"...
(2) odpowiedzi
2017-03-31 12:03 Laravel datatables - Max execution time exceeded »
i use laravel datatables serverside to get data from 4 tables and display them. The code that i have on routes/web.php is: Route::get('/serverSid...
(0) odpowiedzi