Run other artisan commands from a main command

Hello guys, What is the best way to run all commands inside a file or inside a artisan prefix (example: rules:*) from one parent/main comman...
01

Overriding e() (or any of the Laravel Helpers)

So, prior to 5.5, you could require a file at the top of bootstrap/autoload.php. Now, I can't seem to find a way to override Laravel helper...
20

Kind of confused on Relationships in laravel.

Please forgive this newbish question. Ok, I have 2 objects / classes. (SFLClass and ClassInformation) ClassInformation is simply a st...
05

$schedule->job(new QueryJob()) can't find the model's database connection driver

I've setup a scheduled task to run every 5 minutes to update query results in redis cache. app\Console\Kernel.php namespace A...
05

What things can cause a memory leak in a laravel project?

I have heard about memory leaks but never faced one.I want to know what things can cause a memory leak in a LARAVEL PROJECT .Is it...
12

Retrieve individual file upload from multiple files

I uploaded 4 files and now i want to retrieve every file individually , when tried using foreach it only gives me last file instead of all the file...
02

How to use redis to store the sessions

Hello, I want to use redis to store the session on and all I did is installed predis package and changed session.php configurat...
02

Problem with a queue and Forge workers - Restarting new job even after job does not fail

Hi guys, I would like to know if anyone else had this problem when using Forge workers ( beanstalkd). When I'm using p...
00

Laravel Passport Invalid credentials grant_type - Password

I am having difficulty setting up Passport in Laravel 5.6. The first time when I followed this tutorial, I had implemented perfectly but now again...
02

radio button issue

when i insert particular id radio button yes/no it's inserted in db with out category id and value 0 this is my blade file...
05

Data show category wise / data show only popular / data show in select list input form drop down element

i know how to create, delete, update, show and store , index , any data , for my senario : category 4 type , a,b,c,d if some one wan...
03

How to pass data to a layout.blade.php

like : i want to show my all category in my menu bar but menu bar is a layout not any page i found this code. and its work but i think better sol...
12

how to Pass Variable to Subject or content on mail

Hi i make new email from this command php artisan make:mail BlogPost now when i try to send email to subscriber without queue its sent successful e...
02

How to validate if sum of values are equal in Validation

I have this accounting project where I need to validate if debit and credit are equal before saving to the database. e.g post...
11

calling controller function in route

hi i want to call a controller function through my route. Route::get('listcomp',function(){ $page_title="Invoice Management App...
07

Laravel.log not rotating consistently on a daily basis

Hello, I've got a Laravel 5.6.17/PHP 7.2.4 install and I've setup my config\logging.php file to use the daily driver and rotate...
04

Make a foreach with a JSON array

code array:51 [▼ 0 => {#925 ▼ +"year": "404 BC" +"text": "Peloponnesian War: Lys...
05

Laravel security issue

I create a very simple presentation website with simple login and register (default methods)...
47

How to redirect the user to a specific page if he click in the browser back button?

I have a page with the details of a congress. n this page there is a form where user can select the quantities of efach ticket type of the congres...
04

AWS Elasticache Redis connection timed out

Hi! I have primary endpoint in my redis cluster, it's same vpc with my server and every ports are open, but still I get Connection timed out...
01