Data dodania Pytanie
2017-02-15 20:02 How to validate array in Laravel? »
I try to validate array POST in Laravel: $validator = Validator::make($request->all(), [ "name.*" => 'required|distinct|min:3', ...
(2) odpowiedzi
2017-02-15 17:02 What is the best way to cleanly emogrify a Laravel blade template file? »
I'm using an emogrifier to format the results of a blade template so I can send it in an email. $html = View::make('emails.notification', [ 'dat...
(1) odpowiedzi
2017-02-15 14:02 You can have your API and eat (consume) it in Laravel? »
I have made an API that returns json in Laravel. (routes/api.php) Now I want to consume said API inside my web-side of the project (routes/web.php (i...
(1) odpowiedzi
2017-02-15 09:02 Laravel Migration Error : Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes »
Migration error on Laravel 5.4 with php artisan make:auth [Illuminate\Database\QueryException] ...
(2) odpowiedzi
2017-02-15 06:02 Write a js expression inside laravel blade template »
I am using tagsinput for some tagging operation. I want to add some default value to the tag field that is sent from controller. But it seems that the...
(1) odpowiedzi
2017-02-14 20:02 How to make a user wait with Laravel »
I'm using Laravel 5.3 and I've built an application of which we can think of as sort of like an e-commerce app. I essentially want to allow the user t...
(3) odpowiedzi
2017-02-14 16:02 Laravel view not displaying »
Hi after I click on a page: <a href="{{ url('pages') }}">Websites</a> i get an error saying: View [layoults.pages] not found. Rou...
(1) odpowiedzi
2017-02-14 16:02 Laravel 5: Alternative for Eloquent's 'orWhere' method for querying collections »
So I have a collection of products ($this->products) which I'm getting as a result of a Model query and I want to filter it by some of its attribut...
(2) odpowiedzi
2017-02-14 12:02 How can I parse Google Page Insights output? »
Using PageInsights API this is a sample of array I get. How can I replace those things in braces with a link? Do I need to use some complex regular ex...
(1) odpowiedzi
2017-02-13 20:02 Nested hasMany eager loading Laravel function »
Current logical setup: A room can have many objects. An object can have many scores. -- The problem is that the objects may/may not have any sc...
(1) odpowiedzi
2017-02-13 17:02 using form input value in form action, Laravel 5.4 »
I've written some code to retrieve some data from database when a user visits a url. For example, When someone visits this : http://localhost:8000/h...
(1) odpowiedzi
2017-02-13 14:02 Laravel - show and hide elements depending on a user state »
I am building a time tracker so that users can check in and check out. So there are two buttons which I want to show only one at a time using Blade ...
(2) odpowiedzi
2017-02-13 13:02 Laravel Cookie not set despite Set-cookie header being present »
We're developing a website with a REST Api (frontend in AngularJS 1.6.1, backend in Laravel 5.3). In order to add CSRF protection, our backend needs t...
(2) odpowiedzi
2017-02-13 13:02 Storing emojis in SQL Server table »
So I have been trying to save emojis received via a POST HTTP request from an Android app into an SQL Server table using Laravel. Though special chara...
(0) odpowiedzi
2017-02-13 10:02 Understanding Soap with XML body »
I have a WSDL that i am using, now i would like to understand how i can make the request... If i var_dump($client->__getTypes()) I get a list of a...
(0) odpowiedzi
2017-02-13 07:02 Create an subquery alias to use it in Laravel Query Builder »
I want to create something like an alias to SQL subquery so I can use it like a plain SQL field. For example, I've got 3 tables: user, user_comments a...
(1) odpowiedzi
2017-02-12 22:02 Laravel yield attribute »
I'm trying to set an attribute using @yield and @section, but how? I tried to use <html @yield('mainApp')> and @section('mainApp','id="myid"...
(6) odpowiedzi
2017-02-12 20:02 Laravel routes not working on production »
I've a Laravel5/angularJS app (beeing Laravel as an api rest and angular for the front-end) At my local environment everything works like charm. But...
(2) odpowiedzi
2017-02-12 19:02 Query into wordpress db from laravel »
I have setup my main application in Laravel and set up WordPress for blog (CRUDE) operation. Installed WordPress inside public folder and configured d...
(2) odpowiedzi
2017-02-12 18:02 passing a specific row of data to a modal (laravel datatables plugin) »
i have this page and i have this modal now i what i want to do is when i click on the "Editar" button of the row that contains the ID Cartão of...
(1) odpowiedzi
2017-02-12 12:02 view cannot access variable defined in controller in laravel »
I could not think how to write question for this problem. So this is my problem. I have two views store-side-menu.blade.php <a href="javascript...
(1) odpowiedzi
2017-02-11 18:02 Difference between {!! !!} and {{}} »
I am curious between the difference between {!! !!} and {{ }} In laravel, Model-View-Controller it is used in View where the user declare the variabl...
(1) odpowiedzi
2017-02-11 17:02 Saving a field inside database table using eloquent laravel - Userfrosting »
This is a sample code inside some controller I have: $arr = json_decode($post['arr_json']); for ($i = 0; $i < count($arr); $i++) { $port = Po...
(1) odpowiedzi
2017-02-11 14:02 Laravel 5.4 - Create user »
i'm integreting Facebook login in my web app, but i get this error: ErrorException in SessionGuard.php line 407: Argument 1 passed to Illuminate...
(2) odpowiedzi
2017-02-11 08:02 How can I connect to multiple databases in laravel for the same query? »
I want to execute a raw query which is related to all databases in laravel. So I don't want to point to a specific database. How can I do that in lara...
(2) odpowiedzi
2017-02-10 13:02 Difference between Request (Facade) and Illuminate\Http\Request »
I'm starting to use Laravel and I would like to know how I should choose one over the other. As of version 5.0 Laravel documentation changed request...
(2) odpowiedzi
2017-02-10 10:02 What is the best practice for adding constants in laravel? (Long List) »
I am rather new to laravel. I have a basic question, What is the best way to add constants in laravel. I know the .env method that we use to add the ...
(2) odpowiedzi
2017-02-10 08:02 How can I use this mysql query to laravel 5.2? »
I want to use below sql query into laravel 5.2 SELECT * FROM `products` WHERE soundex(`products`.`name`)=soundex('Neckholder Creme'); I Have tried ...
(1) odpowiedzi
2017-02-09 15:02 Laravel translate values required_if »
I am using Laravel version 5.2.45. Currently I have some troubles with translating required_if rule. When I am using the required_if,field,value it's ...
(1) odpowiedzi
2017-02-09 14:02 How do i access data using two BelongsTo? »
I have three tables - "courses", "lessons" and "tasks". Each lesson belongsTo a course, and each task BelongsTo a lesson. I want to output a task, sho...
(3) odpowiedzi
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