Data dodania Pytanie
2017-01-11 12:01 getting redirected to root when having a special character in request - laravel 5 »
here's my routes file: Route::any('target',function(){ return 'got it!'; }); here's my form: <form method='post' action='example.com/target...
(3) odpowiedzi
2017-01-11 11:01 Laravel validation for field if "image/file" is selected? »
I have a field "image", type is file and need only to validate if image is selected, means it can be also empty. I tried it so: 'avatar' => 'mimes...
(4) odpowiedzi
2017-01-11 09:01 How to include a blade file which has a full stop (.) as part of the file name in blade »
I have a partial view with the following path. /views/acp/review/check.details.blade.php How do I include such a file using blade because If I do ...
(1) odpowiedzi
2017-01-10 19:01 how to include css file in view - laravel »
I am new to laravel and trying to include a css file in my view. The css file is located in resources\assets\css\style.css I am trying to inclu...
(1) odpowiedzi
2017-01-10 15:01 Laravel Docker cannot execute PostgreSQL pg_restore »
I'm running a docker container with Laravel 5 and I have PostgreSQL on my machine. Everything works perfectly, except that I have waaaay to many dat...
(3) odpowiedzi
2017-01-10 09:01 How to ignore .env file from .gitignore for laravel5.2 »
I have written a line .env in my .gitgnore file.but still it is not being ignored while the push. My .gitignore file is in root directory of pro...
(2) odpowiedzi
2017-01-09 12:01 How to Create New User (without Form) in laravel 5.2? »
I want to create new User in laravel 5.2. I try the following to create user, public function createUser() { return User::create([ ...
(3) odpowiedzi
2017-01-09 10:01 laravel 5 - getting redirected to website's root when having some values in form »
here's my blade file : example.com/add <form action="" method="post"> <input type="hidden" name="_token" value="{{Session::token()}}"&gt...
(1) odpowiedzi
2017-01-09 01:01 multiple joins laravel php »
I have a blog app, it has three tables that I want to look into for any search query. Three tables: posts ,categories,tags. Models: Post: class Po...
(1) odpowiedzi
2017-01-08 16:01 Determine if the given foreign id is owned by the user? »
What is good approach to determine if the given foreign id is owned by the user and return collection if found? I have been doing like this, for exam...
(2) odpowiedzi
2017-01-08 13:01 get route in laravel overriding resource route , How to overcome this »
I have the following route in my laravel route file: Route::get('/{id}' , [ 'uses' => 'PagesController@show', 'as' => 'getArticle' ]); ...
(3) odpowiedzi
2017-01-08 11:01 Multiple CRUD system Laravel 5.2 »
I want to build a CRUD system for multiple vendors to create their products in the database. So far I have made it so a vendor can create, read, upda...
(1) odpowiedzi
2017-01-07 10:01 Sentinel::check() always return false after redirect from login method »
I am using Sentinel with Laravel 5.3 . Inside the login method Sentinel::authenticate($credentials) works fine and each time i get user object f...
(1) odpowiedzi
2017-01-07 08:01 laravel 5.1: get relation in with »
I have a model called user with relation "travel" model and travel model with relation "destination" how can I get user in eloquent with travel and ...
(1) odpowiedzi
2017-01-07 02:01 Laravel 5.3: Use auth/middleware on custom error page »
The problem When displaying HTTP error pages (404, 500 and so on), I want to keep the standard design of my current project, including header and foo...
(0) odpowiedzi
2017-01-06 23:01 TokenMismatchException in Laravel 5.3 form »
I feel ashamed asking this question as it has been asked many times by other people, however I cannot find any solution for myself. I am using Larave...
(3) odpowiedzi
2017-01-06 15:01 Method links does not exist »
Im getting this error when i do like this. I want that my search is case insensitive. Any suggestion? $articles = Articles::whereHas('translations'...
(1) odpowiedzi
2017-01-06 12:01 How to redirect after downloading pdf using fpdf »
Is there any approach to redirect to certain route/ refresh current page after download the pdf? I've tried to return an URL but it just goes to the u...
(1) odpowiedzi
2017-01-06 10:01 PHP Fatal error: method_exists(): The script tried to execute a method or access a property of an incomplete object Laravel 5.3 »
The problem is that I have two Laravel projects working on Laravel 5.1 and 5.3 and sharing common database. Both projects are placed on different subd...
(1) odpowiedzi
2017-01-05 20:01 Laravel implicit model binding omit parameter »
I'm using implicit model binding in Laravel 5.3.26 for routes like this POST /teams/{team}/customers/{customer}/addresses The {team} is used in a mi...
(1) odpowiedzi
2017-01-05 18:01 Laravel Eloquent ORM whereHas with a foreach loop »
Here are the relationships: A user has many skills, there is a join table user_skills. I need to search this table to return the profiles that have t...
(1) odpowiedzi
2017-01-05 12:01 Laravel Carbon Group by Month »
Can anyone see what I'm doing wrong? I'm trying to output all the months but group them so they are unique. $months = NewsItem::select(DB::raw('MON...
(3) odpowiedzi
2017-01-05 08:01 Correct way to use mws api with laravel »
Can any body help me out, to understand the correct and standard way to use mws order api library with laravel 5.3 Actually I'm confused in that beca...
(0) odpowiedzi
2017-01-04 13:01 Laravel project folder size is to big? »
After finished my project I checked project folder size is more than 550mb. I delete cache from project but still folder size more than 535mb. And I a...
(1) odpowiedzi
2017-01-04 12:01 hasMany relationship issue in Laravel 5.3 + MongoDB library 'jenssegers/laravel-mongodb' »
I am using MongoDB library https://github.com/jenssegers/laravel-mongodb in Laravel 5.3. I have two collections in MongoDB and I want to make a hasMan...
(1) odpowiedzi
2017-01-04 08:01 How to check php code for psr 2 validation in Netbeans »
Is there any Plugin in Netbeans for checking PSR2 Violation and fix the same. I tried adding php-cs-fixer.phar in Netbeans > Options > php >...
(0) odpowiedzi
2017-01-04 05:01 Laravel schedule:run does not work »
I am trying Laravel schedule command to run some background process for sending mails and fetching emails. When I run these commands individually usin...
(1) odpowiedzi
2017-01-03 23:01 How to pass value from vue.js to controlller? »
So i have an array of values in vue.js, but problem is that i need to pass that values to controller. Any suggestion how can i do that, or is that a w...
(1) odpowiedzi
2017-01-03 11:01 Datatables - On click from image »
I have a datatable populated by 4 fields via a Laravel route. That is fine and works great. Additionally I have added 2 columns with icons, again tha...
(2) odpowiedzi
2017-01-03 10:01 Laravel 5.3 Multi Authentication setup »
I would like to use laravel 5.3 authentication for two different tables. How would it be possible by using laravel authentication? I have setup auth....
(3) odpowiedzi
2017-01-03 10:01 Laravel - force logout of specific user by user id »
I use Laravel 5.2. I want to know how can I force a user to logout by id? I'm building an admin panel with the option to dis-active specific user ...
(1) odpowiedzi
2017-01-02 17:01 Laravel nested relationship query »
Question: How to get best 3 organizations according to column General in Review, together with other related data(User, Address, City, Country, Review...
(0) odpowiedzi
2017-01-02 10:01 Checking folder already existed and if not create a new folder by id in laravel »
i want to store my image to a specific folder and the folder will named by page id. For example if Page id=1, the folder location should be public/pag...
(3) odpowiedzi
2017-01-02 05:01 Fatal error: Class 'Dotenv\Dotenv' not found in .../Bootstrap/DetectEnvironment.php on line 24 »
Not sure why I am getting this message: Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Dotenv\Dotenv' not fou...
(0) odpowiedzi
2017-01-01 13:01 Merge fields laravel collections »
I have two Laravel collections. Mi first collection called $custom_product: Collection {#313 ▼ #items: array:1 [▼ 0 => array:1 [▼ ...
(3) odpowiedzi