Best way to become a 'web programmer'

Hi there. At first, i have to apologize for my bad english. Im still learning :). There is thousands of blog posts etc. to explain how to be a good web programmer. Here is...
Tips
9
100

Laravel and Vue.JS 2 Multilingual

Hi guys, I just wanted any tips, to do multilingual front end with vue.js when I'm loading forms or any data within component. And also is it a good practice to load an ent...
Tips
3
163

Google API - Service account connection - Laravel 5

For anyone who would like to use Google API with a service account connection, here is what I have to done in order to make it work : 1- Call the following in comman...
Tips
30
521

Refactoring

https://laracasts.com/series/laravel-from-scratch-201...
Tips
4
71

prevent forms from working

Hi , am creating a project and i wanna put a demo for users to test , however they will have access to the admin aria , i want to prevent any form with post method o...
Tips
2
62

If you have a lot of php method files that you have built up over the years...

I put these into a directory app\Helpers and then in the Providers directory make a new provider HelperServiceProvider. The code for this just reiterates though a directory...
Tips
1
48

API for internal and external use

Hi guys! I am building a monolith SaaS application. However, core functionality has to be available for external integrators. So, how to build an api which ca...
Tips
2
46

Building an SDK for an API

I am connecting to an api which is all fine and dandy but I want to extract it to a package. I thought I had seen Jeff teach a session or two on this but cant seem to find...
Tips
2
66

Hosting on Shared Server Best Practice

Hi, I would like a couple of advices about hosting Laravel on a Shared Server. I've seen there are some methods, but I would like to better understand which could be...
Tips
21
218

Shaped borders, or Curves

Hello Guys, how do you achieve the curved or shaped borders, or row separators like the one used laracasts hero section...
Tips
2
69

Some advices needed for a career move

Hi everyone I wanted your advice on a personal subject concerning the programming world. I'm currently employed as a part-time paramedic (25 years old) and looking i...
Tips
9
115

Question towards access control list (ACL). Should be a "normal" User be a role?

I'm currently learning about ACL but I'm not quite sure how I should implement it. My current user migration table looks like this: Schema::create('us...
Tips
0
30

A tip when using jQuery UI Laravel 5.7

I set up a new project and then added jQueryUi the main home page as I wanted the tabs: <link href="{{ asset('jqueryui/jquery-ui.min.css') }}" r...
Tips
0
24

Php-cs-fixer Help

Hi. I have got Php-cs-fixer up and running and its doing its thing, but I want it to automatically add a line above and below if else statements, i.e::...
Tips
2
61

how should i go about this

Hello guys, i am working on a small app in laravel where a user can be in charge of more then one location, made a many to many relationship between user and location, but...
Tips
6
154

Is it a bad idea to populate a table with default data from migration files?

I have a package that creates some tables, but for the package to work correctly it needs some default data. If I follow the documentation of Laravel I should go ahead and...
Tips
2
58

Design Pattern: how do you structure your Eloquent models?

Hello, My models can become quite big and less readable as they hold many things, including static repo-like functions (as Laravel don't use repositories, I don't re...
Tips
1
54

Which Laptop to buy?

I just started out my career as PHP Web developer and in need to upgrade my machine so just confused which one will be best. Mac/Linux/Windows. I was thinking about...
Tips
21
191

Can I put if else statements inside methods of models?

just looking for best practice for this stuff class User extends Authenticatable { public function isAdmin() { if($this->privilege === 1) {...
Tips
1
42

CSS positioning

I have a question regarding CSS positioning. Please click on the link below: http://prntscr.co...
Tips
2
77
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels