How should Laravel app be archived?

I need to send zipped laravel appplication. Should the vendor folder be removed before archiving?...

!= or <> does not work in @if

When I use @if($variable <> 0) text @endif or @if($variable != 0) text @endif In blade file it doe...
Laravel
13
162

Big shame for Laravel community

Before 2 weeks i publish devsmote an online platform about remote jobs for web developers. I did this in my free time to help the Developers community to find the best remo...
General
5
130

use subdomain

Hi there, I had created an app that is working under www.mysite.com, but I would separate the admin panel from the website. I would create a subdomain like admin.mysite....

Optional router params

hi I have next problem Route::get('cars/{yearDelimiter?}/{year?}/{priceDelimiter?}/{price?}', 'Cars\[email protected]') ->where('ye...
Laravel
23
129

Serialization of closure failed: Serialization of 'Illuminate\Http\UploadedFile' is not allowed

public function multiplemailsend(Request $request) { $stream=$request->get('stream_name'); $array=([ 'title'=>...

Call to undefined method Barryvdh\Debugbar\Facade::isDeferred()

hi i install the debugger pulgin into my laravel project, initially it was working fine but now its showing the error: Call to undefined method Barryvdh\De...

Access vue variables from slot data

Is there a way to access/update Vue data variable from inside a named slot? Right now I have a vue component working with blade partials in slots, and it would be so conven...
Vue
3
38

Validate array input

Hi I have this 1 input field for tags and each tag are separated by a , how can i validate each tag inside the singple input field? here is what i have curren...

how to search data from database using array

My controller Page: public function index(Request $request) { $search = \Request::get('search'); $records = config('constant.displayPageR...

Scope to get all records that have anniversary within the next two weeks

Based on a date field, I would like to retrieve all records that have an anniversary within the next two weeks using a query scope. I can get all records where t...
General
8
109

Laravel framework file permission - Security

I've been developing locally for a while and now that I'm ready to move to production I realized I have modified files/folders permissions in several places. Is there a fun...
General
28
5928

request whats this for?

in controller for sample public function store() { $project->title = request('title'); $project->description = request('description'); ret...

Uncaught TypeError: Cannot read property 'closed' of undefined

I am following the stripe series and when i got to the video that integrates vue i got this error Uncaught TypeError: Cannot read property 'closed' of undefined at I...
Vue
4
107

Problem when selecting laravel 5.5 columns

How about, I have the following query, in eloquen. $conteoconsejales = usuarios::join('advice', 'usuarios.conse_id', '=' , 'advice.ida')->where('conse_id',$valorc...

Multiple Laravel Echo Instances With Different Pusher App Keys

window.alpha = new Echo({ broadcaster: 'alpha_pusher', key: 'alpha-pusher-key' }); window.beta = new Echo({ broadcaster: 'beta_pusher', key: 'beta-pusher-...

Disadvantages of storing models ids in view

Hello developers I would like to know what are the disadvantage of store / set entity / model id in Html view e.g <div data-id='{{product->id}}'...

laravel is trying to update _method field

Hello everyone, One my project I am trying to update some data but getting this error SQLSTATE[42S22]: Column not found: 1054 Unknown column '_met...
Laravel
15
95

How do I get the count of a relationship with some constraints?

I want to get the count of unread messages along with each convo. Here is what I have. My relationship is as such: public function unseen(){ return $this->hasMany...

Database cannot select correct after upgrading Nova to v1.3.1 from v1.3.0

Base table or view not found 1146: adm.mytable .... doesn't exist. error occurred. Actually , before I use v1.3.1, it's all OK, my default database conn...
Nova
2
42

Elquent Relation to VUEjs

I am trying to create a cascade drop down menu. The example is simple. Create an option lets say car makers and add car models to it...
Vue
2
44

Multiple Domain Sites With Same Codebase

I'm building a SaaS for creating custom social networks. Can I have a single codebase on one droplet and have multiple social networks with different domains?...

Multiple domains same code base

I've looked around for an answer and can't seem to find it. I'd like to use the same code base/repo for multiple domain names. What is the best way to achieve this using Fo...
Forge
1
48

Accept & save paypal credit card details from application's custom interface(Not from paypal UI)

I have a rest api for an android app , that has feature of online payments , I want a customer to enter his credit card details from android app's UI , and these details ar...

Where is the location of the 419 Session Expired Blade file ?

I need to modify it and I can't find it anywhere, and Php Storm can't find it either. Thanks !...

Base URL

Hi, so I want to host my app in iis. I have many apps running and each has its own virtual directory. I have Laravel working on it. Well almost. To get to my app you go...

Is DigitalOcean's LEMP one click app ready to serve a laravel application?

Hi everybody, I'm thinking about creating my first droplet and the LEMP one click install sounds pretty good, I was wondering if it comes with all the packages needed to ru...

Same Eloquent but different results ? What am i doing wrong

I have two views view no 1 @foreach ($sub_jobs as $sub_job) <tr> <td{{$sub_job->company->name}}</td>...

Laravel suddenly displays redirecting page?

Hi! This must be a new thing. I have noticed lately that laravel displays "redirecting to" page (blank page with redirect link). How can i turn it o...
Laravel
22
120

Polymorphic - Results table for Skills and Category/Criteria

I'm thinking of using polymorphic relationship to store results (from different users) for skills and criteria in an assessment site. Skills are just a list of skills where...

Axios access

I have never used Axios for AJAX and would like to give a whirl. Every example I see using Axios uses it in conjunction with Vue, but I am not using Vue. How...

Unique validation on 3 columns in 1 table

I found validator unique syntax and used it my project. 'size_value'=>'required|unique:sizes,size_value,NULL,NULL,size_metric,'.$request->size_metric...
Laravel
2
171

Valet Error Log

I was using valet for a while and I used to have the ability to see the error/access logs using "valet logs" or "valet server-logs" but I got a new mach...
Laravel
4
725

Carbon serialization: InvalidArgumentException

I'm trying to build a slack bot using http://botman.io which is built on Laravel. I've gotte...
Create a New Discussion Button