xterminator24 xterminator24
5

User model best practices

I'm starting a new Laravel 5.8 application and using the built-in Laravel auth. I know that you can rename the default User model and change the database table name....
BabarKhan BabarKhan
5

is there any series or episode on multiauth ?

is there any series or episode on multiauth ?...
Bdubbu Bdubbu
36

Laravel 6

When is Laravel 6 going to arrive?...
Laravel
36
9554
morganchorlton3 morganchorlton3
1

LARAVEL price comparison

Hi all Just a quick question I'm looking to encorporate price comparison in my LARAVEL app to do this is there a go to way or should I create a job to do this on a r...
david001 david001
3

Remove from session

Hi guys, i have a problem in remove the items from session when user click the remove item button from the session. Let me divide my problem in two parts 1First: The...

Affiliate Tracking Software for Laravel

Have tried to integrate a few affiliate tracking software to a Laravel site and failed. Can anyone recommend a solution that works well with Laravel please?...
placiu placiu
4

Invalid datetime format: 1366. How to save object with relationship?

Hi! I'm trying to update user's object and store it to DB like that: public function store(Request $request) { $user = auth()->user...
ilhmhmdn ilhmhmdn
5

Deleting selected rows from checkbox in laravel

Hello, I am pretty new to Laravel. I have a table with its data are retrieved from database here:...
calin.ionut calin.ionut
2

run queue:work in maintenance mode ?

How to run php artisan queue:work in maintenance mode (php artisan down) ???? Is this possible?...
skeith22 skeith22
2

Does the built-in token on Laravel (api_token) expires?

Does anyone know if the API Authentication token built-in in Laravel expires? for example, if you log in then you get a new token using hashing, does the token expir...
jssalvador jssalvador
12

How to groupby after union?

I have two table that I want to union and after I union them I want to groupBy the one column that I used in union Here is what I tried:...
Laravel
12
245
me10071990 me10071990
27

How to submit 3 individual post from single From for single designed page?

Is it possible through database? I have a from(section.blade.php) in which I have 3 section one for man scheduled 2nd for women scheduled and 3rd for child scheduled and...
Laravel
27
286
mskhoshnazar mskhoshnazar
18

Laravel pagination, bad design maybe?

Hi @JeffreyWay I was struggling with a clean way to render simple or regular pagination based on user's agent type (mobile/desktop), and I'm begi...
Laravel
18
234
khatran khatran
4

Translate data with database

I have a page which it contains database data. I want to translate it from Vietnamese to English by clicking into a flag. I tried using trans() with a variable but I can't...
Laravel
4
113
Michael34 Michael34
28

Method('Patch') and CSRF token appear in page and don't work.

I'm new and going through the beginner's course. For some reason, @method('PATCH') and @CSRF text appears on my page and are not...
Laravel
28
283
mahuresanketr mahuresanketr
7

Laravel 5.4 routing issue with database based session

Previously we are using file based session and project is working fine. From last 2 days i am trying to change file based session to database session and below steps are fo...
Laravel
7
101
prospeak prospeak
9

Schedule a post

Hello Please i want to create a post with form title , body ... but i want to add posted_at and hide_at or start_at and end_at , i tried to use softdelete but it's n...
Faisal Faisal
14

Storage url is not working on windows

Hi i am using Laravel 5.8, for image storing i am used Storage, and after i used php artisan storage:link but i cannot get exact image path, can you help me ?? This is my P...
Laravel
14
209
mabdullahsari mabdullahsari
5

Allow multiple validation types in form requests

I will cut it brief, I want to validate the following in a FormRequest: "dates": ["2019-02-01", ["2019-03-01", "...
kokarat kokarat
2

Socialite facebook login problem on mobile

Socialite facebook login problem on mobile phone but working well on PC anybody found this problem like me ?...
prex016 prex016
9

Self join query is too slow

Below query is taking approx 7 to 8 seconds. I think self join in laravel is taking too much time when there is huge rows. any suggestion? table has 48000 recoreds....
Laravel
9
142
KingsleyO KingsleyO
2

Trying to get property id of non object

I have this code which displays an edit button to only the user with the id in the url if(Auth::getUser()->id == $slug ){ $this['getuser'] = Auth::ge...
arjunkaimattathil arjunkaimattathil
2

Migration Solution from Codeigniter to Laravel

Hi All, Is any tool or solution that can be used to migrate my Codeigniter PHP application latest laravel framework? Thanks in advance....
afoysal afoysal
6

Empty Route files

My Route files are empty but I am getting output at http://127.0.0.1:8000/login. How it...
calin.ionut calin.ionut
2

config:cache => Your configuration files are not serializable.

I am having an error using the command in laravel 5.8 ~$ php artisan config:cache Your configuration files are not serializable. I investiga...
mostafalaravel mostafalaravel
1

Error message when validate null value !

Hello , I created this custom validation : public function boot() { Validator::extend('image64', function ($attribute, $value, $param...
nickdavies07 nickdavies07
8

[caching_sha2_password] error when running php artisan migrate

Having an issue, hopefully someone can help as I'm tearing my hair out with this one. Running the command php artisan migrate in terminal throws the following error:...
Laravel
8
5740
dharav dharav
13

how to pass id in default create method

i want to pass id to default create method but it gives missing argument error and if its initialised the id isnt pass a class="btn btn-primary" hr...
Laravel
13
1073
rushita rushita
2

Data could not scrape

I try to scrape data but data not scraped it goes in ajax's else condition, I use latest package as referenced fabpot/goutte for web scrapping blade file ajax cod...

Filtering on pivot values

Im setting up a querry for a search page. I got the following: A USER has a DPS A DPS has many LISTINGS LISTINGS have many SERVICES SERVICES can have PIVOT VALUES de...
Laravel
4
133
emilVenkov12 emilVenkov12
2

Method Illuminate/Support/Collection::replace does not exist.

In Laravel documentation: https://laravel.com/docs/5.8/collectio...
tobyreed tobyreed
2

base64_decode() expects parameter 1 to be string, array given

Trying to run my tests using Geckodriver, however. When it runs this error occurs: ErrorException: base64_decode() expects parameter 1 to be string, array gi...
AbdulBazith AbdulBazith
34

multiply the qty and rate from two tables with same product_id in laravel

guys i have two tables table opening_stock with columns id open_date product_id open_qty db structure below id open_date...
Laravel
34
576
parthsynup parthsynup
3

spatie crawler - how to list out all the URL's from the base url crawl.

I am using spatie/crawler for crawling the url. I have input as a base URL. And need to get all the host URL links present in the base URL web page. The crawler is returnin...
Van1310 Van1310
3

Ajax Url not found

After click on button url not found in ajax script here is my code $('.btn-apply').click(function () { var btn = $(this); var tRowId =...
Create a New Discussion Button