Questions tagged [laravel-5.5]

Between the years 2015 and 2020, Laravel 5 was introduced as a new iteration of the popular Laravel framework. Designed by Taylor Otwell, Laravel is an open-source MVC framework for PHP that simplifies the process of developing web applications with its clear and expressive syntax. If you have any general inquiries about Laravel, feel free to use the laravel tag.

Laravel : How to utilize Eloquent to perform joins within a query

Within my database, I am working with five tables where I need to extract data from all of them: post, product, categories, attributes, post_attribute Currently, I have a query in my model that retrieves all posts for a particular product, including detai ...

Achieving a URL structure similar to a blog post (such as www.abc.com/how-to-learn-php) in Laravel 5.5 - Step by

I am looking to create a personalized profile URL for users resembling a blog post format (www.abc.com/profile/tom-cruise-brad-pit). Every user in the database has their own unique identification, but I prefer not to display this ID in the URL. ...

Reset Laravel 5's internal throttle/rate limiter: a step-by-step guide

My Laravel application is utilizing the built-in throttle feature in the following way: //File: Kernal protected $middlewareGroups = [ 'api' => ['throttle:10,3'] ]; But now I am looking to reset the count after a specific action is performed in one of ...

Obtain the name of a person instead of their identification in a one-to-one

I have two tables in my database - one is a "make" table and the other is a "post" table. The "make" table stores make names using columns like make_code and make_name. The "post" table has a column called make, which saves the make in the form of make_cod ...

Every time I set up Laravel/Passport, I encounter an issue where the authentication does not seem to work properly,

I successfully set up authentication using the Make::Auth method. Everything was working fine until I installed passport and encountered an error that said "page expired" when attempting to login. The login function is not working as expected, so any assis ...