CuddlyHammy CuddlyHammy
4

HTML2PDF in Laravel

I have a button for creating/viewing a PDF file. This is the controller: public function viewCompiledReport($id) { ob_start(); inclu...
siller replied
Solved
Tips
4
2208
oxbir oxbir
3

How to dynamically change the price and incrementing the input number

I used the append function of jquery to transfer value to other side. so i append input type number which the value automatically equal to 1. The question if I incre...
Tips
3
81
leviathanz leviathanz
1

Anyone has experience using Apiato?

Hi All, Anyone here has experienced with apiato? I just want to know if possible to integrate apiato with the existing laravel system. Thanks,...
Tips
1
75
shadrix shadrix
2

Where would you save tons of images that are about 40kb small? File, Block or Object Storage?

Currently, I'm using DigitalOcean Spaces. However, I'm having rate-limit-issues with them. Besides...
Tips
2
39
MartinZeltin MartinZeltin
14

How would you refactor this function?

I have a function that prepares a receipt output. But since it has all kinds of conditions it ends up being very long and difficult to understand.. How would one go...
Tips
14
190
msslgomez msslgomez
2

Translate user input to another language

I'm using the vue-i18n library to translate between Spanish and English for the website text like page title, form names, button names, and text that is not go...
Tips
2
101
Boubou Boubou
2

Create popup tutorial

Hello, Sometimes you go on websites and see little popups that shows you the tour of a webpage. I would love to have this on my website, is there a library for this...
Tips
2
44
Olympus Olympus
3

How would I display a CMS Theme Demo within a Laravel site like themeforest?

I want to eventually build a site where I can showcase my work. How would I display a WordPress, Drupal, or other CMS theme in a demo in a laravel site?...
Tips
3
77
mdalholm mdalholm
1

Ecommerce UI

I am looking for a UI that is focused on e-commerce. i am not looking for a template or anything like that. It should be like bulma, bootstrap but we ecommerce in focus....
Tips
1
75
Thavarshan Thavarshan
11

Advice on gaining contributers to opensource project

I have a small project aimed towards PHP newcomers. I'm having trouble gaining support and finding newbies like me to contribute to it. Can someone give me tips on how I ou...
Tips
11
101
LaraLink LaraLink
2

What do you use for making your templates

What IDE/tool do you use when you're creating your html templates? I'm looking for a live editor of some sort. Bonus if it supports tailwindcss/blade...
Tips
2
62
MartinZeltin MartinZeltin
6

What makes it ok for Linux to have 200+ line methods?

Bob Martin in his excellent book "Clean Code" has said: The first rule of functions is that they should be small. The second rule of functions...
Tips
6
166
PSchuBu PSchuBu
4

Great Coding Fonts

As many of you know there are a lot of great fonts out there. One of the most popular is Operator Mono, which is unluckily very expensive (starting at 200$). I searched for...
Tips
4
105
kylemabaso kylemabaso
3

Multiuser Database Planning

Good day. I'm an upcoming developer and have a project for a political party. They want to have leads of potential voters, volunteers responsible for recruiting thes...
Tips
3
101
vinschi vinschi
8

SEO tips

Hi guys, do you have any suggestions to be on top in the google search in a laravel way? Thanks in advance...
wide4 replied
Solved
Tips
8
1376
webshiny webshiny
2

Is SEO only with on-page and with backlinks?

I have done on-page and off-page SEO of my website:- http://www.webshiny.com and wondering w...
Tips
2
1577
wesleywillians wesleywillians
4

Hydrators in Laravel 5

Hi Folks, For me is very common to use Hydrators in ZF 2 and SF 2, to hydrate and extract data from my entities. How do you do that in Laravel? Is there any c...
Tips
4
3485
Abdk2r Abdk2r
1

Runtime data laravel way

I would like to have a temporary data on my runtime. Laravel::set('key', 'value') Retrieve it within the same runtime Laravel...
Tips
1
115
msslgomez msslgomez
2

Have the same page on public and admin

I have an online store I'm building but I've run into an issue how do I deal with having the store both on a landing public page and also have it for the admin with the sam...
Tips
2
159
Crazylife Crazylife
1

database design on relationship between account, company and department

I have 3 entity, account, company and department. 1 account can handle multiple company with multiple department. 1 account can bind to multiple department. 1 compan...
Tips
1
110
shadrix shadrix
4

Do you ever call "php artisian cache:clear" in production?

This might be a stupid question. But I'm not really sure if there is a situation where you need to clear the cache in production. So: Do you ever call php art...
Tips
4
202
msslgomez msslgomez
5

Store inventory

I'm trying to make an online store with a simple inventory from scratch, but I'm unsure what is the best way to achieve this. These are my tables Sc...
Tips
5
269
msslgomez msslgomez
5

Online store inventory

If I was going to create a website for a supermarket where a person can purchase online, as someone who has never made a website like this how should I approach the invento...
Tips
5
237
urmail4ashish urmail4ashish
8

Comments by paragraph

I am working on a project, in which user can add there content. For that i am using CKEDITOR. And i want to allow the users to add comments to every paragraph they add....
Tips
8
218
dfoxxdfoxx dfoxxdfoxx
1

Three-legged OAuth with also getting a request_token

Hello, I am trying to connect from my laravel to the immobilienscout24 api because the current packages that the link to are very outdated. To do this i need to use...
Tips
1
214
msslgomez msslgomez
3

What to do with unused crud methods in controller

I have a couple controllers that don't use all the resource methods, for example the way I do my cruds I only use one vue file and the index, store, update, and destroy met...
Tips
3
159
Arrilot Arrilot
21

Widgets for Laravel

For those of you who find using View Composer in some situations not readable enought I've build a small and nice (in my opinion) package providing widget functionality....
Tips
21
3294
msslgomez msslgomez
16

Best Hosting websites for Laravel?

I'm looking for the best hosting websites to put a Laravel website online, maybe a lower - mid price range? This is to show a client so they can decide which one they want...
Tips
16
406
msslgomez msslgomez
1

Hide vue component after method gets executed

I have a vue component to display the user notifications that works great BUT after the user clicks on the notification and a method is executed the notification is still t...
Tips
1
174
mdalholm mdalholm
0

Simple Sanctum SPA

Hello, I just finished another "starter kit" for your next laravel SPA project. A simple lightweight admin template based on laravel, vuejs and buefy. Impl...
Tips
0
118
surreal surreal
2

Copy folder and its content to storage

Hi there, is there any sollution to copy an entire folder (including foldername) and its content to another storage disk (ftp) without manually creating the folder first an...
Tips
2
202
Blindacme Blindacme
3

How to send/receive mail in Laravel application

Im trying to include an email feature in my application where a user can send and receive their emails from their domain. I figure I may be able to use imap for the receiv...
Tips
3
501
Howdy_McGee Howdy_McGee
3

Arrays in Form Names - Good or Bad Practice?

I'm working with a form where multiple components are brought together, A Person and a List. In the form I'm separating these by array: Some issues I've run into:...
Tips
3
231
ashwinmram ashwinmram
9

Setting up a Laravel Dev machine on Windows 10 with WSL (Windows Subsystem for Linux) enabled

The first step of course would be to activate ASL. I did this by running the following command through Windows PowerShell as an Administrator: Enable-WindowsOp...
Tips
9
6371
Ravish Ravish
2

Livewire syntax support in PHPStorm

I am getting warnings or plain syntax color while using the following @livewire('component-name') //white text <livewire:component-name> //warning: Na...
Tips
2
270
Create a New Discussion Button