More from Ashiqur Rahman
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 […]
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 […]
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 […]
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. Ashiqur Rahman […]
Inside config/app.php replace timezone‘timezone’ => ‘Asia/Singapore’ Inside env add DB configDB_TIMEZONE=+08:00 laravel timezone Ashiqur Rahman Member since May 11, 2018 Loading + Follow Following Writing code for backend (PHP & MySQL) and love to play with the APIs https://arshohag.rdevs.xyz Do you like Ashiqur Rahman's articles? Follow on social!
switch the MAIL_PORT between (25 or 465 or 587 or 2525) Ashiqur Rahman Member since May 11, 2018 Loading + Follow Following Writing code for backend (PHP & MySQL) and love to play with the APIs https://arshohag.rdevs.xyz Do you like Ashiqur Rahman's articles? Follow on social!
When a feature branch finished using git flow then it may still in the local branch on another developer machine. So to keep updated your local branches with remote branches you need to clean up your local branches that aren’t on the remote. Follow this to clean up & get synced with the remote origin […]
While starting a project, you must follow some best practices. It can be naming convention, branching, git-flow, issue tracking, commit message, pull request and so on. Today I will let you know the most & important one that we overlooked every time we started a project. Project Naming Convention Creating a repository requires a project […]
If you want to move a complete commit from one repository to another (and you don’t want to add it as a remote), you can use these steps: Create a patch In the source repository, create a patch based on the commit by running git format-patch SHA1_OF_COMMIT~..SHA1_OF_COMMIT Example – git format-patch c2d42a0583481652ce037b899beef45d9858b98f~..c2d42a0583481652ce037b899beef45d9858b98f (note the ~).This will […]
By default – Windows has a case-sensitive file system. Mac has a case-insensitive file system. That’s why in mac, FileName.ext -> changes to -> Filename.ext will not show as changes in git status Rename the file like this to fix this problem – Hope this helps. Show some love by like this post. git mac […]
Github1s stands for One second to read GitHub code with VS Code Today I discovered a small project on GitHub that allows you to easily read a git repository in VSCode without cloning it. Github1s allows you to read a GitHub project with an online version of VSCode. You just need to add 1s after GitHub and press Enter in […]