ashwinmram ashwinmram
3

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
3
267
buiduchanh99tb buiduchanh99tb
0

Reviews Cổng xoay Tripod Turnstile CPW-400BF - ZKTecovn

reviews về Cổng xoay 3 càng tripod CPW-400BF Cổng xoay Tripod CPW-400BF là dòng sản phẩm của hãng CMOLO, trang bị là 1 trong vật dụng để ki...
Tips
0
72
atfinho atfinho
5

Api Tips

Hey guys I was recently involved in a laravel project which is also connected to mobile applications through web services.. anyway I was in contact with the mobile develope...
Tips
5
151
Garet Garet
9

Defining form input fields from controller

One thing that bugged me a little with Laravel is how we specify form input fields directly in the view. I come from a CodeIgniter background where generally you def...
Tips
9
170
Garet Garet
5

Learning Laravel and feeling overwhelmed

A little bit of background, I’ve been developing in PHP for the best part of 15 years. I started with standard procedural code and worked my way onto object orientation....
Tips
5
137
jimmitjoo jimmitjoo
3

Upgrading cashier from 7.2 to 10.x?

Hi folks! I implemented Stripe as a payment solution for subscriptions into one of my projects a few years ago, and it has been working out just fine until now. The...
Tips
3
169
Fijvect Fijvect
3

Model manipulation before every call

Hello! I am hoping for advice on how to best approach my problem. Strategies or tips. I have a website with repeating events & classes. They all repeat using iCa...
Tips
3
114
hpolthof hpolthof
2

Package boilerplate

Just to whom it concerns. I've recently built a package boilerplate, 'cause I was getting tired of setting it up from scratch every time. I've you like it, you can c...
Tips
2
131
AlexanderKim AlexanderKim
6

Is there prettier alternative for PHP in VScode

In VSCode there's a function "Format document", when i work on a clientside code in TS/JS - prettier works awesome, it corrects indentation, string lines, semicol...
Tips
6
157
leber leber
4

Chunking queries

Hi guys, I would like to share one quick tip. It might be obvious for some but for others a big time saver. Tip: In Laravel ->each() method on query...
Tips
4
106
nikixoxo nikixoxo
2

Testing for begginer

Hello everyone What is the best way to start learing how to do automated tests. I have very very basic knowledge of PHP Where should i start in here. Thanks f...
Tips
2
89
pbm pbm
3

Favorite Sublime Text plugin for generating DocBlocks

Hi there, What plugin do you folks use to generate DocBlocks within Sublime Text? Of course there is phpfmt bu...
Tips
3
127
murilo murilo
1

MYSQL Big DB importing via MySQL Workbench is giving error , importing in wrong orde

Hello , I have a question , I have a BIG database to import via Mysql Work bench . I am using MYSQL 5.7 , I am trying to import my database via workbanch ,but is giving e...
Tips
1
87
red_devil red_devil
1

Laravel 5.8 Development Help

Hello All, I am a beginner in web development. Now, I am working on a project for a company and I need some guidance from you experts. I enjoyed learning PHP and Lar...
Tips
1
86
SecretsSeeker SecretsSeeker
0

Custom auth for nuxt

Nuxt/auth module hurt my brain so long and today I created custom module: First I have this store structure: store/ -- index.js -- mutations.js -- act...
Tips
0
72
janosk janosk
2

Dinamically generate Gates for permission control

Hi everyone! I know there are several very well written role/permission package for lavarel, but I decided to go with a custom one from scratch because I need only b...
Tips
2
87
cesarmd cesarmd
4

How to keep track of available variables in a PHP file when you have several 'require's?

Coming from a Javascript (Node) background, I find it hard to understand what to expect when you import a file in PHP with require. In Javascript most of the t...
Tips
4
132
nabilunfarhanun nabilunfarhanun
4

How to dry up this part of my code?

I am submitting two forms from same page with ajax. One is to create and another is to update. As they look very similar, my gut says their should be a way to dry up this f...
Tips
4
107
jacobson jacobson
3

Decimal lat lon vs Geo spatial mysql

Hello, I'm working on a project that collects Lat Lon from mobile devices. Currently I've made it using decimal fields and calculating distance between points on php side (...
Tips
3
102
tha07 tha07
1

Editing an already happened transaction

I'm building an online grocery app which records the inventories and sales. I want to include the update sales transaction feature. when recording sales trans...
Tips
1
77
Placid Placid
4

Sublime PHP Companion - import_namespace

I am trying to use https://github.com/erichard/SublimePHPCompanion. But I'm having a hard time...
Tips
4
331
sujitdhaka sujitdhaka
5

Optional Subject GPA deduct from total GPA

{{ app_data('site_title') }} .card-body> div[class*="col-"]{ margin-bottom: 15px; float: left; } .h1, .h2, .h3, .h4, .h5, .h6, h1,...
Tips
5
78
alois alois
2

CSS and JS Animation, Chart, etc. without External Library

Hey! I was interviewed for a front-end developer position that focuses on animation. Well, I don't really have a solid background in animations using CSS and JS. I could ma...
Tips
2
69
chori.av chori.av
11

A way to store site settings in Laravel

I have a landing page, that needs some settings, managed by admins from admin-panel. What is the good way to implement it? Maybe, some kind of key-value pair databas...
Tips
11
212
ahmedali32 ahmedali32
4

chunked video uploads

Hey i want to make multiple video upload and chunk every video to chunks because it's large videos and with each video i want to send data video description and video name...
Tips
4
125
JackJones JackJones
8

Importing Classes in Sublime Text 3

In every video when Jeffrey says "Let's just go ahead and import this class" and then magically it appears in the use statements, how is he doing tha...
Tips
8
104
bufferoverflow bufferoverflow
1

Embed Laravel app to hybrid app

I have a Laravel website which I want my users to be able to download an "app" version from the Play Store (Android) and App Store (iOS). My idea was to bu...
Tips
1
76
dani94 dani94
2

Any pretty solution for this?

I have Order Model, which has products relationship and products have category relationship. I need to get a function in my model to get single product with a static catego...
Tips
2
395
Valeri0 Valeri0
4

Api Security

Hi, I buil a product tha offer a public api endpoint to collect data from my users' applications, each of those needs to provide their specific API key. Sometimes I...
Tips
4
65
shadrix shadrix
2

What kind of Browser/App is this? (Showing Responsive Devices as a Browser)

I'm watching a Tailwind video and saw this: Do you know what this could be? Original source i...
Tips
2
65
getsolaris getsolaris
1

Laravel Make Service Pattern Command

Hello. I developed it as a command because I was uncomfortable with manual service....
Tips
1
50
anyforsoft anyforsoft
0

Drupal + Gatsby

When creating decoupled Drupal websites, Gatsby can solve a number of issues such as configuration, dynamic web page processing, React compatibility and others. Check out t...
Tips
0
36
FallOutBoi FallOutBoi
1

Question about dropzone validation

Hi, im building a form with dropzone in it. I was wondering if i would not check images for validation can someone just change the maximum file size number in their browser...
Tips
1
48
Thavarshan Thavarshan
11

How to call object property as method?

Is there a way to dynamically call an object property as a method. For instance. class ObjA { public $appPath; } $objA = new ObjA; $objA->ap...
Tips
11
86
troovers troovers
5

How to: Let users know there are new features available?

Hi guys, I've developed an application for multiple clients and am using Laravel Forge and Continues Integration to quickly deploy new features to the application. S...
Tips
5
125
Create a New Discussion Button