Data dodania Pytanie
2017-02-09 11:02 Laravel queues not working »
I am using laravel queues for commenting on the facebook post. When ever i recieve data from facebook webhook, based on the recieved details i am comm...
(2) odpowiedzi
2017-02-09 10:02 3 Levels of Authentication / Middleware Laravel »
Scenario Im building an application that offers 3 levels of paid services but im not sure how to go about coding the 3 level functionality. So for e...
(1) odpowiedzi
2017-02-08 23:02 Laravel. How to order by one field but first get items with specific value of another field? »
I got a database with entries. Each entry have start date and state fields. What I want to do is order entries by start date (done that) but first dis...
(1) odpowiedzi
2017-02-08 10:02 Laravel Gate : Authorization doesn't work »
I am trying to make laravel basic authorization. I'm using gate for laravel authorization. Table structure User Table, Permission Table, Role, role...
(1) odpowiedzi
2017-02-08 09:02 laravel, how can I ignore a special route? »
how can I ignore special routes with nginx server. for example I have a.com address and I want Ignore a.com/abc ...
(1) odpowiedzi
2017-02-08 09:02 sequence id increment with date - laravel »
I'm trying to create an increment number licence with the current date of the year + an increment number but i really don't know how to do this i know...
(4) odpowiedzi
2017-02-08 07:02 displaying pdf from arraybuffer »
I am returning stream data from laravel dompdf from this code $pdf = \App::make('dompdf.wrapper'); $pdf->loadHTML("<div>This is test</...
(3) odpowiedzi
2017-02-07 15:02 laravel events, are they executing synchronously? »
basically what I want to do is use a special token auto login but: only for a subset of pages. Say, commenting is ok with the token login. Changing ...
(2) odpowiedzi
2017-02-07 12:02 Call Mongodb stored function from PHP7 »
Below is my mongodb function that is stored in Mongodb. db.system.js.save( { _id: "echoFunction", value : function(x) { return x;...
(1) odpowiedzi
2017-02-07 10:02 How to guard private channels when using socket.io and laravel echo? »
Here is server.js var app = require('express')(); var http = require('http').Server(app); var io = require('socket.io')(http); var Redis = require('i...
(0) odpowiedzi
2017-02-06 21:02 How to use jCrop and Image Intervention? »
I have this fiddle where i crop image and get values such as x,y,x1,y1,w,h: http://jsfiddle.net/LvsYc/2511 Now what i want is to save that image wit...
(1) odpowiedzi
2017-02-06 20:02 Two Laravel applications on the same server conflicting with one another »
I have 2 Laravel applications running on the same server. The server is Apache 2.4 and I have vhosts set up to serve each application on a different d...
(2) odpowiedzi
2017-02-06 19:02 Two different domain A and B both on separate server, how to get session created on A get into B server, same B to A »
Two different domain A and B both on separate server, how to get session created on A get into B server, same B to A My application use laravel 5.2...
(2) odpowiedzi
2017-02-06 14:02 Laravel weird behavior orderByRaw(field()) »
I'm creating a multi roll registration system. And I'm trying to list all existing rolls. These have to be sorted ascendingly on the amount of permiss...
(1) odpowiedzi
2017-02-06 13:02 Passing information between pages with Laravel »
I need to pass information between pages. I would usually just use sessions in plain PHP. I wonder if there is a more correct way to do this on Larav...
(3) odpowiedzi
2017-02-06 11:02 never run composer update in production why? »
composer install will install whenever stated in the composer.json file but composer update will update all the dependencies and created a new compose...
(1) odpowiedzi
2017-02-06 10:02 Rating system implementation in Laravel »
I'm already working in a web application in Laravel that needs a rating system between users. So, I've been reading the Laravel documentation and some...
(1) odpowiedzi
2017-02-05 23:02 How does the abstract Model class in laravel handle static dynamic method calls such as "::find()", "::where()" etc »
I am learning how some features are being implemented in laravel, because i want to understand some software design techniques and principles. i und...
(1) odpowiedzi
2017-02-05 16:02 Eloquent - multiple WHERE LIKE conditions »
I'm currently trying to implement a search in my db for keywords. Therefore I split a string seperated by a comma, so I get an array containing a vari...
(3) odpowiedzi
2017-02-05 15:02 How to log out of an expired session in Laravel 5.x? »
More recent versions of Laravel (correctly) use POST to logout of a session. The reasoning for this is that GET/HEAD should only be used for passive a...
(1) odpowiedzi
2017-02-05 15:02 Laravel vue js integration - No values in blade file »
I try to integrate vue.js with laravel 5.3. I call "gulp" which creates the main.js file in the public folder. I can see in the browser that the js fi...
(1) odpowiedzi
2017-02-04 17:02 PHP Laravel Database: Get all entries from one table + more »
My problem is a bit abstract, so I can't really explain. I have a few tables: table 1 is called videos and the other tables are categories like Dell,...
(1) odpowiedzi
2017-02-04 14:02 Left joining in Laravel »
I am building my app and I needed to use leftJoin in laravel I prepared a query in database and it works fine. SELECT sp.id, ssp.sale_id, ssp.produc...
(1) odpowiedzi
2017-02-04 13:02 Laravel Dusk error: Failed to connect to localhost port 9515: Connection refused »
As the title says, I've go a clean install of Laravel 5.4 and the latest Homestead (1.0.1). However, when I run a simple Dusk test case I get the foll...
(0) odpowiedzi
2017-02-04 10:02 What is the proper way to get ready a 3rd party package in Laravel 5 (5.4)? »
I try to migrate an existing project from laravel 4 to laravel 5. For that I installed a fresh laravel project and import code in it. I installed a ...
(2) odpowiedzi
2017-02-04 09:02 TokenMismatchException in VerifyCsrfToken.php while submiting through edittable »
I have used edittable jquery plugin: <td>Name</td><td class="name" data-pk="<?php echo auth()->user()->id;?>" data-url="{{...
(2) odpowiedzi
2017-02-04 08:02 Eloquent - Where Date >= date(now) and whereNull('date') »
I will get all items from table where endDate is >= now and endDate is NULL and published = 1. this is what i have, but give me 0 items: $items = It...
(3) odpowiedzi
2017-02-03 14:02 How to add subqueries in eloquent db of laravel 5? »
I am building an api in laravel 5.3 using eloquent if I use /api/location/event_name/event_status then I am getting results. But when I use /api/loca...
(1) odpowiedzi
2017-02-03 13:02 What happened to laravel's redirectTo() method? »
We can override this property to redirect users after login: protected $redirectTo = '/'; And here is from documentation: If the redirect path ...
(2) odpowiedzi
2017-02-03 11:02 I want to take the first character of use LEFT on laravel ` »
Maybe anyone can help me? This is my controller. $takegolongan = Pekerjaan::select ('LEFT('golongan_jabatan', 1)')->where('cno', '00001222')-...
(2) odpowiedzi
2017-02-03 07:02 PHP artisan migration error »
When i m executing PHP artisan migrate I'm getting following error C:\xampp\htdocs\Social>php artisan migrate help [ErrorException] include...
(2) odpowiedzi
2017-02-03 01:02 Laravel nesting models. Sub entity on user model? »
I am having trouble figuring out how to attach sub entities to the user model. Lets say I have two tables: Users and Nationality. The relationship is...
(2) odpowiedzi
2017-02-02 21:02 Laravel Pagination Latest Rows (Reversed) »
Can't find an example anywhere on how to return latest rows (per the created_at column) within pagination? My current code is: $messages = Message::...
(2) odpowiedzi
2017-02-02 21:02 How to assign a dynamic property in a model via a SQL query in Laravel 5 »
I'm using Laravel 5.3 to build an API and I have an model for products. Whenever I retrieve a product, I want to retrieve the product's rating and it'...
(2) odpowiedzi
2017-02-02 20:02 Count amount of relations in Laravel »
I have an eloquent model User which is in 1:N relation with itself (a single user can refer multiple users, and a single user can be referred by a sin...
(1) odpowiedzi