Join - bemuslim.xyz
I have faced RDS connection issues a lot. Cause AWS RDS used a different env variable rather than the Laravel default one for MySQL connection. So what is the best way to resolve the issue? Add this code on the top of your /config/database.php And change your MySQL connection to: Great! You are done! If […]
Laravel provide a rich set of pre-bult validation rules. If you need to validate alpha – numeric value you can use – alpha The field under validation must be entirely alphabetic characters. alpha_dash The field under validation may have alpha-numeric characters, as well as dashes and underscores. alpha_num The field under validation must be entirely […]
Using Controller -> Service -> Repository -> Model pattern, we need to use custom service & repository class. By default Laravel included make:model & make:controller command. But to generate Service & Repository class, we need to create custom commands to generate these classes. So Let’s start. Service Class generator command 1st we need to generate […]
Today I will introduce you with a great day-to-day used tool for quick code testing in the online environment. Introducing Laravel Playground. You can do anything as you want in a Laravel project. A Great tool indeed to grow your productivity. What is Laravel Playground? Laravel Playground is a sandbox for your Laravel code and […]
To test the mail configuration of Laravel. Follow this simple steps – SSH into the server Run the tinker Artisan command to enter the Tinker environment Run this following command If tinker shows successful then check mail to ensure mail received properly. Otherwise tinker will throw error. Follow the error to solve the mail configuration.