Data dodania Pytanie
2017-02-01 08:02 Dynamically change background image of each user in laravel blade template »
i have different type of users in my application and each user have differerent type of background image for their wall like facebook but here i am co...
(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 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 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-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 21:01 Running dusk tests on Homestead for Windows »
I'm using homestead on windows 10 and installed laravel 5.4 when I'm trying to run dusk tests I get the following error: 1) Tests\Feature\ViewProduct...
(2) 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 09:01 Laravel - Populating dropdown with two columns as display type »
I am using the pluck api to get two columns and make a collection be passed in the view to make a dropdown menu. Province::pluck('name', 'id'); It ...
(1) 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 13:01 Trying to get property of non-object from another controller Laravel 5.3 »
I don't think this is a typical non-object error, but hopefully someone with more knowledge than me can figure it out. I have the following Controlle...
(1) 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-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 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 14:01 Laravel setting from database and accessible to all the Controllers and Views »
Hi I am trying to load the Setting and Accessible to all the Controllers and views. Is there a nice way to do this. ...
(1) 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-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
2017-01-24 12:01 Can I override the AuthenticatesUsers login() method to implement a custom login involving the call to a REST web service in this Laravel application? »
I am absolutly new in PHP and in Laravel and I have the following problem. I know that Laravel provide a pretty well done automatic login system crea...
(0) odpowiedzi
2017-01-24 10:01 How to retrieve username for each id in datatables »
Tickets Table: "subject" : "test colse", "user" : "584a9b815918aa1", "message" : "close ticket", "priority" : "Medium", "category...
(0) odpowiedzi
2017-01-24 08:01 Session::forget() return an error Unexpected token »
In my Laravel project, I am using Session::forget("job-success") to destroy particular session. However, it returns error stating "Unexpected token". ...
(1) odpowiedzi
2017-01-24 01:01 Laravel 5 jquery getJSON not working »
I am trying to get JSON data from API on Laravel 5 , The route gives me correct Data in the browser but when trying to access this route in JQuery it ...
(2) odpowiedzi
2017-01-23 16:01 Add static route to a route the is supposed to be dynamic? »
In my routes file, web.php I have, Route::get('/m/{game}', 'CommentController@index')->name('game'); Route::get('/m/{game?}', 'GameController@all...
(4) odpowiedzi
2017-01-23 09:01 Simple messages system between user and admin with Laravel »
I've created simple message system between user and admin. When user report some item I have storing his report and then admin has button 'Replay to u...
(1) odpowiedzi
2017-01-23 08:01 Laravel 5.3 migration »
I just upgrade to Laravel to 5.x and using "jenssegers/Date": "^3.0". So while migrating, there seems to be an error: [ErrorException] Declaratio...
(2) odpowiedzi
2017-01-22 17:01 PHP foreach - undefined variable? »
I'm using Laravel 5.3's query builder, trying to add a where clause to find articles with a certain tag: $tag_list = $request->tag_list; // tag_li...
(1) odpowiedzi
2017-01-22 16:01 Laravel Middleware with other than user() »
Can we use Middleware with other than User method? I mean... almost in every example or explanations they used $request->user() to check user's per...
(1) odpowiedzi
2017-01-22 11:01 Laravel 5.2: How to scheduled Command multiple times in a day »
I am using laravel 5.2 commands via scheduler, i can call the command by following code: $schedule->command('command:name') ->...
(1) odpowiedzi
2017-01-21 17:01 [Laravel][php]how to make a function who will loss number once a day »
I was making a electronic diary for schools. But I must make a function which will loss random number only once a day. I know how to loss a number, bu...
(2) odpowiedzi
2017-01-21 17:01 Collection only with relationship fields? »
I want to return the only fields I needed but when the collection has relationship it would not work. For example: $items = $items->map(function(...
(0) odpowiedzi