rohan_mhz rohan_mhz
3

Star Rating

i have rating field in my reviews table which holds numbers from 1-5, now i need to display star rating according to the rating in the reviews table. any tips on how to do...
Tips
3
43
cemcminn cemcminn
0

Card and envelope templates

I need to create a report for my user to print on two different non-traditional formats: 3x5 card size and envelope size for a 'set' of people (different instances). Does...
Tips
0
9
lifesound lifesound
14

laravel , php , java ,salaries , jobs and depression

hi all I`m very depressed that i was working for a project to introduce it to my company as a CMMS , to get a higher job .. Unfortunately , my company got an oracle...
Tips
14
265
netzfabrik netzfabrik
1

Database structure of templates

Hi at all, i need help to design the database. So in the first step i want price templates for each account. So i've now a table for the templates with name, created_at, e....
Tips
1
55
shadrix shadrix
2

How to avoid Interface Segregation in my case? (SOLID)

Hey hey :) I'm trying to use the SOLID-principles, however, I have a problem with Type-Hinting. First, have a look at my code, but it is important to note: $a...
Tips
2
71
linuxhini linuxhini
5

Laracast Loads Very fast

Hi Jeff, do you have a series on website optimization ? How did you achieve such load speeds on laracast. The site is blazing fast....
Tips
5
153
manshu manshu
3

Cities and States SQL Query

It took me few hours, but finally got everything down. Here's my contribution, if any one is looking for Cities and States as SQL Dump. Just plug and play....
Tips
3
74
jslewis90 jslewis90
3

Ideal SVG size

Hey all, I’m redesigning my website from scratch and I was curious what a good size would be to use for making an SVG site logo in the top navigation....
Tips
3
101
oroalej oroalej
1

How do you structure (Folders) your project?

Hi All, Can you share how you structure your laravel folder? like, how do you divide files to different folder. etc.. Really appreciate it....
Tips
1
77
jamieps jamieps
10

Database Structure

Hi There, I have just done the Laravel 5.7 tutorial and I am getting my hands dirty. Really impressed with it all at the moment with how much Laravel pre thinks for...
Tips
10
261
hufflepuff hufflepuff
2

How to stop auto-playing of videos?

I don't stream videos as I don't have good internet connecting. So, I download all videos of a series I want to watch. But most of the time I come back to video page just t...
Tips
2
140
rohan_mhz rohan_mhz
2

user's comment on specific travel package

can anyone help me with this? I am new to laravel and know the basics only. I want to create a comment which is associated with the user who posted it to a specific...
Tips
2
127
successdav successdav
5

CONFUSE ON HOW TO SET THIS TABLES UP, I NEED HELP

I am building a web app for a school and I need to arrange the topics into sections. I have a course model and I want to arrange the course content into sections, e....
Tips
5
253
omniware omniware
22

Laravel create dynamic forms via a drag and drop interface

I have been searching for this for a while now. Can you suggest some thing that is packaged for Laravel. Few interesting ones are the...
Tips
22
1743
shantodev shantodev
2

How to initialise filed in PHPStorm?

I am curious to know that what is the short cut key for initialise field in phpStorm?...
Tips
2
147
learn-by-flying learn-by-flying
3

Where should basic logic be placed?

Hi Everyone, Have successfully gotten laravel up and running, published the hello world app and starting to dive deeper into a basic production prototype; however I...
Tips
3
111
YeZawHein YeZawHein
1

Logic Architecuture for passport token expire time

I don't know that much about passport.I need advice for passport token expire time.I searched for it but I still haven't found any appropiate answer. When user click...
Tips
1
91
Rass Rass
1

Pay after taking a commission in Paypal?

Hello, l have a website where Tutors logs in and sell there courses, then Students can buy these courses. The requirement is to take a commission from each s...
Tips
1
118
scommetix scommetix
2

Moving from Joomla Framework to Laravel

Hi guys, For years, I've been using the Joomla Framework and created a very complex CMS framework-on-a-framework that has allowed me to publish web and non-web syste...
Tips
2
137
RidwanIslam RidwanIslam
2

How to remove git username form Mac.

I have two user's in git on my Mac. I am trying to remove one user, that I am not using anymore. How can I remove that? I already try this step- $ git...
Tips
2
113
FabioPacifici FabioPacifici
6

Import CSV files into dB, Laravel 5.7

Hello all! how are you doing today? I would like to import information from a CSV file and store them inside a dedicated DB table. Then present the results inside a chart...
Tips
6
1193
nabilunfarhanun nabilunfarhanun
3

Best practice for validation and dry principle

What I read from the internet is it is good practice to validate both in front end and back end. Front end validation is needed for user friendliness. And back end validati...
Tips
3
176
Ronster Ronster
1

Looking for the best approach

Hi, In my company we have a lot of background job running to update a lot of data. besides that we also have a team of data validators who update the same data in ou...
Tips
1
110
MadMaks MadMaks
3

Prevent white flash

As i clicked through my Homepage, I noticed, that there is some kind of a white flash before the page is fully loaded. Here on Laracasts there is absolutely nothing inbetwe...
Tips
3
202
saviogomes saviogomes
4

Are the laracasts php tutorials enough to learn php?

I'm learning php and mysql from laracasts and I'm not sure that its comprehensive enough for me to understand php enough so that I can build projects on my own. Even though...
Tips
4
299
pilat pilat
4

How to work on different version of laravel?

Hi, I have Laravel 5.3 project locally. There is also upgrade to Laravel 5.8 in progress. When I do the upgrade, I switch to 'upgrade' branch, when I have to...
Tips
4
202
Garet Garet
6

Naming convention for models with relationships

Let's say I have a model called Users. Then I have 2 related models called LoginHistory and Device. LoginHistory records each login that a user makes, and Dev...
Tips
6
230
Punksolid Punksolid
1

Laravel Telescope In Production Affects Performance?

Hi I been using Laravel Telescope in local and staging server and is incredibly useful, but now that I have my production server, I found that I am already dependent...
Tips
1
177
K3nzie K3nzie
2

Paypal Donation Data

Hello everyone, I've recently discovered the Paypal package for laravel to manage payments, and I was wondering if it would work with donations and with a normal account. W...
Tips
2
178
lonerunner lonerunner
3

Auth::user() returns null with using global middleware

I am trying to create last user activity, and i've been reading some instructions on middlewares but i am confused, i previously built middleware for role check and that su...
Tips
3
180
hollyit hollyit
2

HEADS-UP: PHP Short tags are deprecated in 7.4

Information is available here: https://wiki.php.net/rfc/depreca...
Tips
2
204
Cvetan Cvetan
2

How to make phpcs in PhpStorm not report errors in blade files?

The phpcs currently reports error for blade files with no php code. In the configured extensions is this currently: php,js,css,inc. Can I somehow say it...
Tips
2
192
SNaRe SNaRe
5

Dynamic Number of Workers

Hi, Some of the jobs that have run is consuming high cpu on db side. So I would like to dynamically alter number of jobs that are running. By the way Laravel 5.8 and I'm us...
Tips
5
271
markMngoma markMngoma
0

Blog Post Card Float

Hello, I have written PHP Code to display blog posts and they do, however, I would like them to display in floating style on row, like how it is on Laracasts. Please advi...
Tips
0
112
forefront forefront
1

Laravel Horizon in Web API

Hi, I was wondering if Laravel Horizon would work with multiple application servers as well as multiple worker servers. I was thinking if every server has the...
Tips
1
181
Create a New Discussion Button