How do I make doctrine support timestamp columns AHK 10:38Problem: [Doctrine\DBAL\DBALException] Unknown column type "timestamp" requested. Any Doctrine type that you use has to be regi... Read More
[6.0] Where is the command app:name? AHK 12:01Problem The app:name command, no longer available in laravel 6.0, there is some way to change the namespaces, as was being done with that co... Read More
The most common HTTP Status codes AHK 13:13As we write API calls, we've also added t he status codes to our endpoint response. This lets us explicitly return JSON data and send ... Read More
How to Install Multiple PHP(7.3 and 8) Versions on Ubuntu > 20 AHK 11:50 Step 1: System Update First, log in to Ubuntu via console. Then update the Apt cache and upgrade the current packages of the system using t... Read More
Run Composer versions 1 and 2 simultaneously AHK 11:26Composer 2 is great. But it is not compatible with PHP versions lesser than 7.2. So if you're maintaining legacy projects that require o... Read More
How to send an attachment from request to mail without first saving it to storage? AHK 17:53How to send an attachment from request to mail without first saving it to storage? public function build(){ $email = $this->from(... Read More
Check Laravel JWT token is valid or not AHK 10:52Create Middleware using the below command Command: php artisan make:middleware JwtMiddleware Paste the below code: <?php namespace App\Ht... Read More
Laravel: Transform Request to custom validation request AHK 11:41Laravel: Transform Request to custom validation request we can convert any request to any other request, as long as it extends from Illumina... Read More
Laravel 5 clear cache from route, view, config and all cache data from application AHK 13:20 Reoptimized class loader: php artisan optimize Clear Cache facade value: php artisan cache:clear Clear Route cache: php artisan route:cache... Read More
How to get POST request variables in laravel AHK 10:48 Take a look at the $_GET and $_REQUEST superglobals. Something like the following would work for your example: $start = $_GET['start... Read More