Data dodania Pytanie
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
2017-01-01 13:01 How does check of authentication work in laravel? »
I have the following line of code in my controller: public function __construct() { $this->middleware('auth'); } So basically what this li...
(4) odpowiedzi
2017-01-01 11:01 Unexepected error in laravel method when index method is called »
I have the following code in my Notices controller: public function index() { $notices = Notice::all(); return view('notices.index' ,...
(1) odpowiedzi
2016-12-31 09:12 Laravel: Best way to implement dynamic routing in routes.php based on environment variable? »
My aim is to roll out a big re-theming / re-skinning (including new URL routing) for a Laravel v5 project without touching the existing business logic...
(2) odpowiedzi
2016-12-31 08:12 Laravel- view is not working »
I am using Ubuntu 16.04 and installed Laravel 5.3 on desktop/Laravel/test directory. I have created a test.blade.php file in resources/view directory....
(2) odpowiedzi
2016-12-31 00:12 Call AJAX with Vue.js and Vue resource in Laravel »
I'm making AJAX request in Laravel with Vue.js and Vue resource. I have view: {{Form::open(['method' => 'post', 'class' => 'form-inline', 'id'...
(1) odpowiedzi
2016-12-30 12:12 How to unlock the file after AWS S3 Helper uploading file? »
I am using the official PHP SDK with the official service provider for laravel to upload an image to Amazon S3. The image is temporarily stored on my ...
(2) odpowiedzi
2016-12-30 08:12 How to use Basic Routing methods in Laravel? »
I have get some documents from Laravel Documentation.But i can't get details clearly from that. There are lot of routing methods and how to use that f...
(2) odpowiedzi
2016-12-30 01:12 Is possible to check how many times collaborator's static method was called in PhpSpec? »
What I'm trying to achieve is: to check if factory method was called on ContextItem to check if provided entity exists in the collection Questions...
(0) odpowiedzi
2016-12-29 20:12 Missing X-CSRF-TOKEN in Vue headers »
I'm trying to make a POST using VueJS 1.0.28 but I'm getting a Laravel 5.3 TokenMismatchException error. This is in app.js to cover both jQuery and V...
(2) odpowiedzi
2016-12-29 14:12 How to access a column in laravel query result »
I'm getting an error in my controller Undefined property: Illuminate\Database\Eloquent\Collection::$created_at How can I access a column created_at ...
(3) odpowiedzi
2016-12-29 14:12 syntax error, unexpected 'firstOrCreate' (T_STRING), expecting variable (T_VARIABLE) or '$ »
Im getting this error when i try to do this: $additional_features = $request->input('additional_features'); foreach($additional_features...
(1) odpowiedzi
2016-12-29 03:12 How to search all articles belongs to a tag in laravel »
Article Model class Article { public function Tag(){ return $this->belongsToMany('App\Tag'); } } Tag Model class Tag { public...
(3) odpowiedzi
2016-12-28 07:12 How to pass GET Parameters in encrypt format in URL using Laravel form with GET Method? »
I want to encrypt parameters when form submit. I am using laravel 5.2 version and when form submit that time I am using get method for submit the form...
(3) odpowiedzi
2016-12-28 05:12 Many to many relationships store and update in laravel »
I create three tables: Post Table id--title--body Tags Table id--name post_tag post_id--tag_id Post Model public function tags() { return ...
(1) odpowiedzi
2016-12-28 05:12 How to have multiple layers of hasMany() relation for Laravel 5? »
Let say I have tables like the following: order order_id | customer_name | delivery_address 1 | David | ABC Road, DEF distri...
(1) odpowiedzi
2016-12-27 18:12 Laravel DomainException in RouteCompiler Variable name cannot be longer than 32 characters in route pattern »
I'm getting this error because of a long variable name. How do I override the variable name? I would very much like to keep the resource name. My ro...
(2) odpowiedzi
2016-12-27 15:12 In Laravel 5.3, how to get the Job ID after we dispatch a job to the job queue? »
In Laravel 5.3, in the controller, we can dispatch a job to the job queue like this: $job = (new JobClass())->onQueue('queuename'); dispatch($job)...
(1) odpowiedzi