Renaming uploaded file before download

So, I want the user to download a file with another name than the stored one. For example: File is stored as: storage/app/uploa...
01

Customize native Laravel controllers

I want users, after registration not be get authenticated. It seems that this is done in RegisterUsers trait using $this->guard()->login($use...
01

Non-static method 'where' should not be called statically on PHPStorm

After updating my composer, I'm getting this warning on PHPStorm on the 'where' method of Eloquent. Non-static method 'where' should...
02

Not getting back PHP form data

Hello, I'm using Vue Resource to send form data to PHP but for some reason the isset check for my submit button isn't working. However it does work...
00

Help, can't install laravel mix in laravel homestead.

Hi guys, My installation keeps failing (been trying for 2 days now). I'm running sudo npm install --no-bin -links in a fresh laravel homestead inst...
12

Uncaught SyntaxError: Invalid or unexpected token

chrome inspect shows \u0 at the end of the file, which is causing the error: Uncaught SyntaxErro...
00

How to delete all the data of a column in a table

I tried this in the controller but it seems not to work $products = Product::all(); for ($i=0; $i < count($products) ; $i+...
02

Save array retrieved from a table form

Hi I have a form with multiple rows of table and array of name: <form action="/test" method="post"> {{...
01

NotFoundHttpException on cPanel live server

I uploaded my laravel project on cPanel and all works except one thing: when I am logged in and if I click create article menu then I cannot see my...
01

Show custom error message from controller

I have a form for a search with 6 fields that are not required all at once (at least one field is required for the search) in controller my...
01

Two classes to produce and consume data

Hi there, I'm trying to write a basic API that will make some resources of my app available to use for others. Users will also be able to access a...
01

Pagination with a custom database and implementing toString()

I'm connecting to a database via an ODBC driver. The database uses a slightly different query language (WX2, which is based on Oracle) which doesn'...
01

Addressing the person

Hello, This email system works except that it has not address the identity of the buyer. I have the table already. Yet, do not know how to...
01

Cannot compile .vue file.

app.js import Vue from 'vue'; import message from './components/message.js'; new Vue({el:'#wrapper',components:message});...
04

Scout Search

Hi Everyone, I am trying to setup search and so far so good, the only issue is when I place a where clause into the query I get a blank scre...
01

Command - Best option for reminder emails 2 weeks before due date column

Hi all, I have a command that pulls out entries from the DB that will have a due date that's 2 weeks from current date. I'm able to send the...
03

Call to a member function keys() on null

I am trying to get count of header from an uploaded CSV file. But I am getting error "Call to a member function keys() on null". Here is...
02

Search Engine Using Class Model

How to make search engine in laravel using class model Plz Help me and any suggestion...
01

About user-role

Hi, recently i thinking about user-role. I'm not good at English. So, i'm going straight to the point. For an example, i have 3 users (AdminA,Admi...
01