Support the ongoing development of Laravel.io →

1,805 Threads

Model with several tables or migrations

So far I have created one migration (database table) per model. P.ex. I have a user model, a user mi...

0 Likes 5 Replies

Why is the count variable 0 on all pages but the first?

I am working on a blogging application in Laravel 8. The FrontendController controller contains the...

0 Likes 3 Replies
Solved

How can I avoid repeating this line in all my methods?

I am working on a blogging application in Laravel 8. I have a settings table from which I pull the _...

1 Likes 5 Replies

Is it good to save a model in a mutator?

Hi ! I am using Laravel 6. I have a question about the use of mutators in a model. Here a first exem...

0 Likes 0 Replies
posted 3 months ago

Laravel vs wordpress/other for simple website larav

To make a very simple website with a contact form and a payment system, is it wise to use Laravel as...

0 Likes 1 Replies

Cashier, Location and Tax

Hi All. I am new here, but not new to coding, or Laravel. I have a SaaS product nearing functional c...

0 Likes 0 Replies

TS & laravel

typescript and laravel is enough for full fledged web system e-com portal can v bypass mysql connec...

0 Likes 1 Replies

Database design for driving school

I came up with a database design that I find most appropiate for scheduling a student on a driving s...

0 Likes 2 Replies

How do I get a single post's category name?

I am working on a Laravel 8 app with posts and post categories. I am working on the Edit post form,...

0 Likes 2 Replies
Solved

How do I filter posts by status with Laravel query builder?

I am working on a Laravel 8 app with users and posts. From all the entries in the posts table, I nee...

0 Likes 3 Replies
Solved

SaaS multi-Locataire

Hello I am working on the subject of multitenancy SaaS in my master project, to see the benefit of t...

0 Likes 1 Replies

How can I use a middleware method in the routes file?

I am working on a Laravel 8 app with users, roles and permissions. I use Microsoft Azure for user si...

0 Likes 1 Replies

How can I make a Blade directive that takes a parameter?

I am working on a Laravel 8 application. I need to make a custom directive for checking user's permi...

0 Likes 2 Replies
Solved

How to bring a session variable to the AuthServiceProvider?

I am working on a Laravel 8 app with users, roles and permissions. I use Microsoft Azure for user si...

0 Likes 2 Replies
Solved

What causes this "Not unique table/alias" error?

I am working on a Laravel 8 app with users, roles and permissions. I try to get the current user's l...

0 Likes 1 Replies
Solved
posted 7 months ago

Updating SaaS with no downtime?

I have two AWS EC2 servers behind load balancer and one database with replication... How do I update...

0 Likes 1 Replies

Vapor + Browsershot

I'm looking for a bit of help getting Browsershot (https://github.com/spatie/browsershot) working on...

0 Likes 0 Replies

naming template in route?

I'm new to Laravel. I'm trying to get used to the Laravel way of doing things, however, one thing th...

0 Likes 1 Replies

2 Laravel Servers with Observers on a shared DB (Advice)

Hello Community, I need some advice, I've got 2 servers (website A and website B). Website A updates...

0 Likes 2 Replies
Solved

file_get_contents('/path/to/laravel/') instead of public url

Can I do this: file_get_contents('/home/user/public_html/'); instead of: file_get_contents('https://...

1 Likes 1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.