How can we help you?

Knowledge Base   /   PHP   /   Laravel

Laravel

Tags: laravel Related entries Composer require runs out of memory. PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted Composer update - Update failed (The zip extensi...
On Windows 10; Goto C:\ProgramData\ComposerSetup\bin and Edit: composer.bat - php -d memory_limit=-1 "%~dp0composer.phar" %*  https://stackoverflow.com/questions/49212475/composer-require-run...
add the following to your App\Providers\RouteServiceProvider.php - public const HOME = '/home';
Run this composer require laravelcollective/html  
n Laravel 5+{{ \Illuminate\Support\Str::limit($description, 50, '...') }}or{{ \Illuminate\Support\Str::limit($description, 50) }}  
$start=Carbon::parse($a->date); $end=Carbon::parse($c->dt); $days=$start->diffInDays($end);  
sudo nano /etc/apache2/sites-available/000-default.conf<Directory /var/www/html/public/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>...
Mail::send($view, $data, function($message) use ($email, $name) { $m->to($email, $name); $m->from('youremail@example.com', 'Your Name'); $m->subject('Hi there'); })Read m...