Authenticating users

My script has made use of spatie/laravel-permission. I am primarily focused on up...
00

How do I convert ```'``` to ```'```?

How do I convert ' to '?. I tried html_entity_decode() but it didn't work....
01

Best way to add status field for Models

I'm trying to find the best way for implementing 'status' field in the project. A lot of Models have status field, which has 2 options: active and...
01

Ajax request Laravel 5.5

Hello everyone. I have a simple question, I am trying to send ajax request, but I receive empty response. here is my code <...
05

combobox auto complete

how to make combobox with auto complete php??...
02

How to check user role after login?

I am using laravel 5.3. There are roles(rid,name),users_roles(uid,rid). Now how to check user role on login and redirect according to role id i.e,...
10

Hyperlink on the variable without button

Please how to after the click on the variable in the table to redirect to the update view of the given variable. My code is:...
01

Optimize static page routes and views

I would like to optimize my code. At the moment I have a route with about 20 static pages and a PageController that will handle each one of them. I...
01

Create simple admin access (Logic Review)

Hello, I have completed https://l...
04

I wrote some import functions from APIs, can you help me improve it

I run a large scaled app much larger than I can handle or develop for, website grew out of control and currently has over 22000 users. We su...
02

“Unauthenticated” error message for logged In users in larvel 5.5

I'm using [Dingo/api][1] laravel package to create an API. I worked with it before and I have not this problem. this is my rout...
00

dont push if job_id exists

i have an array like this 0 => array:11 [▼ "id" => 25 "job_id" => 111222 "surveyor_...
01

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists

I am getting the below mentioned error when i run php artisan migrate SQLSTATE[42S01]: Base table or view already exists: 1050 Table...
10

Processing chunked uploads help please

So I'm accepting user-uploaded videos for a new internal service that I'm creating. Due to the size of most videos, I am using Dropzone.js and the...
06

Resetting application namespace

Description: I just accidently change the default namespace "app" to "Different" namespace. I want back to the default...
02

How to get the pivot value from a many-to-many with pivot relationship

There is a many-to-many relationship between the Teacher and Subject model: Teacher.php public function subjects() { retu...
03

Im trying to do a maintenace page and if my rank is set to admin I get the normal page

It Still returns the maintenance page Instead of the normal page Here is my code: { if(DB::table('we...
13

EloquentFields - Form Generator Package for Eloquent Models

I'm working on a package that can be used to generate forms based on an array in the model. It's basic purpose is to save the developer time...
01

class not found on composer dump-autoload

working on a laravel package to ensure api routes are auth protected (i.e. get redirect or error on unauth and get JSON when authed). package is l...
02