Our Black Friday sale is now live! All individual subscriptions are 50% OFF. This week only!

KevDev

KevDev

full stack web developer at Homebase

Member Since 4 Years Ago

Taytay Rizal

Experience Points
22,760
Total
Experience

2,240 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
183
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.

Level 5
22,760 XP
Nov
26
1 day 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
2 weeks 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
1 month 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
1 month 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
1 month 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
1 month 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
1 month 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.

Aug
03
3 months ago
Activity icon

Replied to Whats The Best Way To Remove Item On A HasMany Relation

thank you for the reply. but I want is to remove the relation only between the posts and the photos and i want to remain the files or data of the photo

Activity icon

Started a new Conversation Whats The Best Way To Remove Item On A HasMany Relation

Hi. So I have a posts that has a hasMany relation with photos and then I remove 1 of the photos but the relation only not the data inside photos table. I remember there is sync on many to many relation. how can I do something like that on hasMany?

Jul
27
4 months ago
Activity icon

Started a new Conversation Laravel 7 Using Codeception With .env.testing

Hey guys. I am really new on codeception and I setup laravel5 module on my laravel7 application and it works but I am facing a problem when I load a .env.testing on unit.suite.yml and codeception.yml.. i am pretty sure this is just a configuration issue that I have not done correctly. Please see my configuration below that is working but its talking to my main database.

codeception.yml please see below

// unit.suite.yml
actor: UnitTester
modules:
    enabled:
        - Asserts
        - \Helper\Unit
        - Laravel5:
            environment_file: .env.testing
//codeception.yml
paths:
    tests: tests
    output: tests/_output
    data: tests/_data
    support: tests/_support
    envs: tests/_envs
actor_suffix: Tester
extensions:
    enabled:
        - Codeception\Extension\RunFailed
modules:
    enabled:
        - Laravel5
            environment_file: .env.testing

Screenshot_3

I hope someone can help here because I stuck in here for few days and continue my developing using the db i set on .env luckily i am far from being done so no real data yet. TIA

Jun
16
5 months ago
Activity icon

Commented on Tips For Simplifying Laravel Controllers

How about the base controller from Illuminate\Routing\Controller? is it still fine even if you didn't extends the App\Http\Controllers\Controller?

Activity icon

Awarded Best Reply on InvalidArgumentException: Unable To Locate Factory With Name [default] [Route].

the issue was on 'route_id' => factory(Route::class), my IDE doesnt detect errors because I think it getting the laravel route class. but I haven't included it on my RouteListFactory

Activity icon

Started a new Conversation Using Sanctum To Authenticate Mobile App?

Hey guys. I am developing a hybrid mobile app and I am using laravel as a backend. I am wondering if I can authenticate using sanctum from my mobile app? anyone have tried it? please share. because I am worried because it says that the frontend and the backend must have the same top-level domain name. TIA