Data dodania Pytanie
2017-02-01 10:02 Merge activities in activity feed »
I'm building an app with activity feed, just like Facebook or Instagram. When for instance a user uploads a picture, this picture automatically create...
(2) odpowiedzi
2017-01-31 18:01 Storing a folder hierachy laravel »
I am currently in the process of building a application that allows users to log in and collaborate on a project. I have used laratrust so that I can ...
(1) odpowiedzi
2017-01-31 16:01 How to use whereIn to check multiple columns? »
I have this query: $query->whereHas($key,function($q) use($option){ $q->whereIn('district', $option); $q->whereIn('r...
(1) odpowiedzi
2017-01-31 13:01 Using with and withCount together in laravel eloquent »
withCount is a new method of laravel to return count of the relations. I'm trying to use with and withCount together. For example: Article::with('Com...
(1) odpowiedzi
2017-01-31 05:01 Laravel 5.4 : Many to many insertion »
I have two models, User and Team The relationship between them is ManyToMany: In User: public function teamMembers(){ return $this->belongsTo...
(1) odpowiedzi
2017-01-31 04:01 Laravel API Project - Design and Authentication »
I am tasked with building an external API for customers. Without giving any business data away, the database consists of our entire workflow. Events g...
(1) odpowiedzi
2017-01-30 22:01 Avoid repeated code in Laravel controller »
In each controller in my Laravel application, I use all of this namespace: use App\User; use App\Http\Controllers\Controller; use Google\Auth\OAuth2;...
(2) odpowiedzi
2017-01-30 20:01 Laravel 5.4 sometimes uses different database credentials »
Laravel 5.4 randomly (sometimes not always, or even frequently) tries to connect to a database using the default forge credentials... I've changed th...
(1) odpowiedzi
2017-01-30 15:01 Distinct most recent data from database »
I am storing data in my database. The data being stored looks like this id | upload_month | created_at ----------------------------------------- 1 ...
(2) odpowiedzi
2017-01-30 11:01 Laravel routing two optional one after another »
First, I would gladly accept suggestions on that title, because I am not sure how to explain my issue in one row. I have a route that looks like that...
(1) odpowiedzi
2017-01-30 10:01 Laravel:custom validation for email »
i want to accept mail id just from one server say '@myemail.com' when someone is registering. If any other mail address is given it will say your mail...
(3) odpowiedzi
2017-01-29 21:01 How to access data of one function to another in laravel »
Okay the issue is something like this I have a function in AController public function index() { $store = Store::(query)(to)(rows)->first(); ...
(2) odpowiedzi
2017-01-29 18:01 problems with validating input and query optimization »
im creating a management system where teachers can manage students final projects and the formers can see what other students created im a laravel ne...
(1) odpowiedzi
2017-01-29 10:01 Offline web application CRM using Laravel »
Guys I have Offline Laravel CRM that will manage part in a company. This project will be only on one PC in the company and it shouldn't be online or ...
(1) odpowiedzi
2017-01-29 01:01 Undefined property: Illuminate\Support\Collection::$id in Laravel 5.2 »
I have a confusion and I need a help to solve. I am trying to add a record to a table that depends on the initial record, it is an event log table re...
(2) odpowiedzi
2017-01-28 18:01 Can I put and retrieve the user information to and from session into a Laravel custom user provider? »
I am not so into PHP and Laravel and I have the following problem, I came from Java. I am following this tutorial to implement a custom user provider...
(1) odpowiedzi
2017-01-28 18:01 How to send by post method in laravel by means of a button an array? »
I have on blade this @foreach($list as $item) <tr class="columnsArray"> <td>{{$item["lista"]}}</td> ...
(1) odpowiedzi
2017-01-28 10:01 Getting a specific column value from a pivot table »
The problem I've got three tables, shops, products, and product_shopas the pivot table. The Shop and Product are related using a belongsToMany (Many ...
(4) odpowiedzi
2017-01-28 08:01 Laravel Mix disable file loader for image »
Laravel 5.4 introduced laravel mix with webpack. There is no clear documentation for working with images in laravel mix(like, how it works and to cust...
(0) odpowiedzi
2017-01-28 06:01 How to use sortBy after groupBy in collect in Laravel 5.3? »
I need after get query from sql with Eloquent, create groupBy('date') and sortBy('price') with collect in Laravel 5.3. In IndexController: $flights ...
(2) odpowiedzi
2017-01-27 15:01 Why am I obtaining this "These credentials do not match our records" message after a Custom User Providers authentication in Larvel? »
I am pretty new in PHP and in Laravel. I am following this tutorial to implement a custom user provider: https://blog.georgebuckingham.com/laravel-5...
(0) odpowiedzi
2017-01-27 11:01 Check lowercase and uppercase search »
I'm using this query: public function autocomplete(Request $request) { $company_name = $request->input('query'); $data = Business...
(3) odpowiedzi
2017-01-27 10:01 Laravel 5.3 - TokenMissmatchException in VerifyCsrfToken.php »
I have a problem that my login page in Laravel. When I run my project php artisan serve I have successfully logged in localhost:8000/login. However, ...
(2) odpowiedzi
2017-01-27 09:01 CSRF token mismatch exception in ajax post request in laravel 5.3 on localhost »
I am newbie to laravel. I am using laravel 5.3 on localhost and i am posting data to controller function using ajax post request. I have integrated th...
(3) odpowiedzi
2017-01-27 04:01 Laravel passport installation error »
I've just downloaded the latest laravel 5.3 and I'm trying to install passport, but I'm getting the following composer error: Your requirements could...
(2) odpowiedzi
2017-01-26 14:01 Upgraded to Laravel 5.4 - Some routes now fail? »
I had a completely working project on Laravel 5.3, yesterday I upgraded to Laravel 5.4 locally to check all was working and was very happy so put a pl...
(1) odpowiedzi
2017-01-26 12:01 voyager - (Symfony\Component\Console\Exception\CommandNotFoundException] There are no commands defined in the "voyager" namespace) »
So I am trying to install Voyager for my laravel, but when I insert php artisan voyager:install I am getting this error message: (Symfony\C...
(1) odpowiedzi
2017-01-26 11:01 Batch insert in Laravel 5.2 »
I am using a API's with lot's of calculation almost 100 database fields at the end with a big Foreach loop. In every iteration i insert data in data...
(1) odpowiedzi
2017-01-26 08:01 Getting all item from choosen tag with Laravel »
I have one page where I show image + tags added to image. I want to make tags clickable and when I click on some tag to open all images which has this...
(1) odpowiedzi
2017-01-25 18:01 How to get third relation in laravel »
I have the following models: User, Device, Product. User public function devices() { return $this->hasMany('App\Device'); } Device publ...
(1) odpowiedzi
2017-01-25 10:01 Laravel relationships - accessing related value in view »
I can't find a solution to a seemingly simple problem with passing related data to a view. I have a model 'Companies' that belongs to 'Regions'. I've ...
(3) odpowiedzi
2017-01-25 09:01 Simple tags system in Laravel 5.2 »
I'm making simple tagging function in my laravel project. I've made table tags id | tag also I have table items id | title | description and thi...
(1) odpowiedzi
2017-01-25 09:01 how to pass data from one application to another in Laravel? »
I want to pass data from one application to another in Laravel.. Suppose I want to take user data from one application and I want to send this data t...
(1) odpowiedzi
2017-01-25 07:01 laravel 5.4 : Laravelcollective/html v5.3.0 requires illuminate/view 5.3.* »
I was using Laravelcollective/html v5.3.0 with laravel 5.3. Now i am using laravel 5.4. I have forms which are using Laravelcollective/html v5.3.0. T...
(2) odpowiedzi
2017-01-24 15:01 Class Not Found in Laravel 5 »
I ran sudo composer require lcobucci/jwt to install the stuff. Then, I added use Lcobucci\JWT\Configuration; on top of my file Then, I start use th...
(2) odpowiedzi