KevDev

full stack web developer at Homebase

Member Since 4 Years Ago

Taytay Rizal

Experience Points
26,480
Total
Experience

3,520 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
213
Lessons
Completed
Best Reply Awards
4
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 6
26,480 XP
Mar
05
2 days ago
Activity icon

Replied to Validation Rule Changes The Data

can you show your codes. I guess you have assign the $value into a string or something like this (int) $value and it removes the +

Activity icon

Replied to Using Queue:work With Systemd - Service Restarted Each ~10mn

Hi, I use the same (systemd) on my production server using ubuntu. Maybe the issue is with the user or group. maybe try adding a group on your worker config. I also notice the --daemon option. I am not familiar with it so I check it. and base on the php artisan queue:work --help it says deprecated. maybe thats the cause of the issue. since this is a process already i think you dont need to include --daemon option

Activity icon

Replied to How Do You UNIT Test Your Controller?

exactly!! thank you

Mar
04
3 days ago
Activity icon

Replied to How Do You UNIT Test Your Controller?

yes. actually i got confuse also. the tasks is UNIT testing controller and what I have in mind is testing it using HTTP test

Activity icon

Awarded Best Reply on Can I Put The Jobs On Different Server? Is This A Bad Approach?

to answer my own question.

I did it and it works. I have separate servers for my app and for workers only.

Activity icon

Replied to Can I Put The Jobs On Different Server? Is This A Bad Approach?

to answer my own question.

I did it and it works. I have separate servers for my app and for workers only.

Activity icon

Replied to Unknown Html Tag In Phpstorm

i guess this is the best we can do. i'll accept this as an answer thanks

Activity icon

Started a new Conversation How Do You UNIT Test Your Controller?

Hi. I really dont do unit testing on my controllers classes. And I just got a tasks that requires me to do it. can you guys give me some idea on how to UNIT test a controller class ?

Feb
28
1 week ago
Activity icon

Replied to Where To Learn? ... Tried Laracasts!

laravel 6 is pretty much the same. i suggest you to try some long series while waiting for another series in the latest laravel version. getting familiar with old laravel version is still worth it and thers not much of differences. its has the same logic and flow on how to do things on laravel. except on laravel 4 and below. laracasts is really worth it and will help you improve furthere if you really know php/laravel..

Activity icon

Started a new Conversation Looking For Laravel CI/CD Premium Tutorials On Aws K8s Or Ecs

Hi Everyone,

I have a running project with laravel8 and the projects traffic is not really stable (sometimes its peak and alot of times its idle). so I want to make it a auto scalling on ECS or k8s. but i dont know how to do it. I also like to make it CI/CD so the deployment is not that hassle.

The current setup on the ec2 is the traditional way (LEMP stack, with git and the deployment is pulling some tags and running some commands like composer install, php artisan commands etc.) and i want it to be automated using CI/CD.

Can you suggest a premium laravel CI/CD tutorial on where can I learn that? i preffer with aws ecs and github actions. but i am open to switch if theres a better option.

My project is always up to date to the latest laravel version and upgrading to php8 is not a problem to me if its tested and proven working.

Btw i am knowleagable on docker since our local setup is using docker except on production because as I said i dont know k8s and ecs yet.

thanks

Feb
11
3 weeks ago
Activity icon

Replied to How Do You Test A Function That Returns A Generator?

yes i think i dont need to check exact data. so i'll just assert the instanceof if it is a generator?

Activity icon

Started a new Conversation How Do You Test A Function That Returns A Generator?

Hi I have a simple service that will fetch a data api and then loop it with generator. and i dont have any idea how will i do it. please see below some example of what class that i want to test.

class Service
{
	public function fetchData()
	{
		$response = Http::get('https://external.api/data');

		if ($response->status() === 200) {
			foreach ($response->json()['data'] as $data) {
				yield $data;
			}
		}
	}

	public function setup()
	{
		foreach ($this->fetchData as $value) {
			(new ProcessData)->process($value);
		}
	}
}
Feb
10
3 weeks ago
Activity icon

Started a new Conversation Laravel 8 Jetstream Not Redirecting After Login

Hi, I wonder how to change redirect url after successful login. I have tried changing the RouteServiceProvider::HOME class const to from '/' to '/browse' but i still redirected to '/' after login

Feb
03
1 month ago
Activity icon

Started a new Conversation Unit Testing A Model Class

Hi, do you guys do a unit test on your model class? like if you have a unit test on your service and repository class and you also have a feature test on your controller. do you still need test on your models?

Jan
10
1 month ago
Activity icon

Replied to Is There A Way To Stop IDM From Download My Videos

are you using HLS or DASH?? i havent tried using idm but other video downloader will not work using HLS or DASH protocols.

Activity icon

Replied to Unknown Html Tag In Phpstorm

im already aware of this. do we have another solution that will not requiring adding custom html tags one by one?

Jan
09
1 month ago
Activity icon

Replied to Unknown Html Tag In Phpstorm

hmmm there nothing mentioned regarding blade components. i dont have problem with blade directives.

Activity icon

Replied to Custom Registration

did you make sure that the dept_id existing on the tables?

Activity icon

Started a new Conversation Unknown Html Tag In Phpstorm

I am using phpstorm but the error on blade files is really annoying. how can I fix this warnings in blade components?

https://prnt.sc/wjzpqz

Nov
26
3 months ago
Activity icon

Replied to Database Testing Setup For Multiple Connections.

i just want to setup the db for my testing. so my app is using 2 databases and I want to test using Http Test with databases.

Activity icon

Commented on Initial Setup With Laravel Breeze

Hi Jeffrey. what is the exact reason why laravel do this guard thing. tia

Activity icon

Started a new Conversation Database Testing Setup For Multiple Connections.

I have this project that has multiple db and connections.

<?php 

return [
	'connections' => [
		'mysql_one' => [
            'driver' => env('DB_DRIVER', 'mysql'),
            'url' => env('DATABASE_URL'),
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE_ONE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            // ..
        ],

        'mysql_two' => [
            'driver' => env('DB_DRIVER', 'mysql'),
            'url' => env('DATABASE_URL'),
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE_TWO', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            // ..
        ],
	],
];

I am wondering how to setup my phpunit.xml for multiple db and connections.

TIA

Nov
07
4 months ago
Activity icon

Commented on Telescope Features

Hi does anyone know why telescope is not working on my end? I have laravel 8 and it by using composer and then i run the telescope:install and migrate artisan command. but I cant access it on /telescope

Oct
22
4 months ago
Activity icon

Replied to Laravel Is A Giant Waste Of Time

ohh you spend hours on this then quit? i spend weeks to understand this back in laravel 4 HAHAHA

Oct
21
4 months ago
Activity icon

Started a new Conversation Can I Put The Jobs On Different Server? Is This A Bad Approach?

Hi..

Currently I am thinking about putting all the jobs on different server instance. Is this okay? So our queue driver is sqs-fifo and currently everything runs on the same server. the app and the jobs processes. I am thinking to separate them. our app server will only serve everything but not the jobs related tasks. And a new server which is a copy of the old server but this server will only process jobs, schedules.

Will this affects the cache? our cache driver is redis using elasticache redis. our jobs process will queries some huge sql queries that will be stored on the cache and then the app server will get the cache. is this fine??

Activity icon

Replied to How To Modify Or Extends {{ }} Functionalities.

ahh yes is that the only way we can do it? i mean this {{ }} is not extendable?

Activity icon

Replied to How To Modify Or Extends {{ }} Functionalities.

yes i agree but what if you have implemented a lot of {{ $post->content }} before and I dont want to do it on every implementation. i just wondering if there is a way to override its functionalityies

Activity icon

Started a new Conversation How To Modify Or Extends {{ }} Functionalities.

Hi. I just wondering if this {{ }} behavior can be modified. for example I have a post and the content includes a string that I dont want to display..

"this is the post content. [DONT_INCLUDE_THIS]"

and then when I display the content on the blade view like this {{ $post->content }}

"this is the post content. "

TIA

Oct
16
4 months ago
Activity icon

Started a new Conversation Laravel Error Page Is Not Working On Other Server.

Hi Guys. I have 2 server.. 1 for staging and 1 for production. they are both from aws. and I have modify the error pages of laravel. it is working on staging but on production server it is not working. it still use the default laravel error page. any thoughts about this?

Oct
12
4 months ago
Activity icon

Started a new Conversation Serverless Or Autoscaling?

Hi Guys,

I need some advice on which path should I go to.

Currently, I have a team working on a project which is still under the development phase. but we have released our pre-registration last week. Our app got a lot of registered users (with premium subscription too) we nearly 3k registered users now. And I am expecting that it will got more users once we release.

Our current stack is an AWS ec2 VM for the app, RDS for the database, s3 for buckets, SQS-FIFO for queueing, and Redis for the session ("soon once we are release!").

So my question is I am very concerned that our app will not perform well so I was thinking about scaling. My first choice is auto-scaling on AWS which I didn't have experience yet. I am watching on youtube and I think I can set it up and I think I can do it.

But also there is the serverless using AWS lambda which I don't experience also. I am not sure if it will be fit our app (i am not saying that it will not I just don't know if it will.).

so here is our app it is a laravel 8 application that doesn't use any frontend framework. it uses jetstream and fortify for the authentication only. we have around 15 routes that our users will be accessing. so most of the pages are written using blades, with bootstrap (using CDN) and minimal jquery (using CDN also).

So which path should I go to scale? AWS Lambda or AWS Autoscaling? The client doesn't care how much they will spend on AWS as long as it performs great on production.

Laravel Vapor is not an option now because it takes ages to get approval from the client, but I will consider this in the future if we go serverless. I should have think about this earlier before we start developing.

Thank you in advance.

Activity icon

Replied to Is It Okay To Use The Same Driver And Database For Session And Cache? I Am Talking About Redis Driver

you mean vapor the serverless service by taylor right? I'll ask another question. do you think it is much better option to go serverless (lambda) for our project? because right now we are not even release we are still on pre registration phase and a lot of users already registered and subscribed to our premium plan. so I am expected a much more active users when we go live.

our current stacks is a ec2 vm i am checking about auto scale on aws but i dont really have real experience with it. also in lambda i dont have experience. i am familiar with it but no real experience.

what should be the best way to proceed? going serverless with lambda or with autoscaling in aws?

Activity icon

Replied to Is It Okay To Use The Same Driver And Database For Session And Cache? I Am Talking About Redis Driver

thank you for spending time answering my inquiries. do you think it will not affected the performance if the cache and session is store in the same driver and database?

Oct
11
4 months ago
Activity icon

Commented on Meet Teamsy

wow. this will be a great series. i can't wait. thanks!!

Activity icon

Replied to How To Learn?

yes of course you can find a job by learning php and laravel. before I became a subscriber of laracasts I have been a user of its forum but havent watched any video because I am pretty confident that I dont need it. and then I tried try for a month and realize how stupid I am by not being a subscriber long time ago. and now. I am a laravel developer whos still visiting laracasts from time to time to learn new things and to refresh everything. my favorite series is this if you'll ask :) https://laracasts.com/series/eloquent-relationships i have watched this for so many times. so you cant just learn it by watching it once. you need to practice what you learn and watch it again. atleast thats how I learn here in laracasts :D

Activity icon

Replied to Laravel Roadmap

git is very essential skills this day you need to learn it. try this from laracasts also. https://laracasts.com/series/git-me-some-version-control

Activity icon

Replied to Laravel Roadmap

I know its hard but I think the best way for you to learn laracasts tutorial is to really try it. first look on the difficulty of the tutorials. try the one with "Beginner" difficulty first. if you have problems with tdd, livewire and vuejs. they have a separate series for that i think its better to check it also. be patient and keep on learning specially the long series one. if you finish one it is very worth it.

Activity icon

Started a new Conversation Is It Okay To Use The Same Driver And Database For Session And Cache? I Am Talking About Redis Driver

hi guys. so in few days we will be launching our project. and the estimated users that will use actively is around 1k - 5k. currently our session driver is database because it is not yet officially release. but I have setup redis already as a session driver. I just wondering if it is okay to use redis for session driver and also use it as cache driver (same driver and same database).. because I am wondering if I will seperate my session driver and cache driver. what do you think guys? I need anykind of tips. btw the server will be hosted using aws and i am planning to use elasticache redis or memcache.