Laravel

Laravel is a nice modern PHP framework by Tayler Otwell, read more about it at http://laravel.com

Setting up CircleCI Continuous Integration with Laravel – Then deploy Forge or Fortrabbit

Including Continuous Integration is great, but there are many providers to choose from. CircleCI has a pretty decent free plan, but using it for your Laravel app might be a bit confusing. Instructions for deploying Laravel 5.5 with Circle CI: This site has a nice boilerplate script: https://medium.com/@wesmahler/circleci-2-0-configuration-for-laravel-5-5-with-laravel-dusk-ab1cc9b9d4a7 But if you found a better script,

Setting up CircleCI Continuous Integration with Laravel – Then deploy Forge or Fortrabbit Read More »

Fixing VBoxManage: error: VMDK: descriptor does not start as expected in

When using Vagrant / Virtualbox and optionally Laravel Homestead it could occur that this message displays: There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: [“startvm”, “{LONGOCDE}”, “–type”, “headless”] Stderr: VBoxManage: error: Could not open the medium ‘/Users/USER/VirtualBox VMs/homestead-7/ubuntu-….vmdk’. VBoxManage: error:

Fixing VBoxManage: error: VMDK: descriptor does not start as expected in Read More »

How to fix the Laravel Gulp Error: Cannot find module ‘internal/fs’

Laravel Gulp Error: Cannot find module ‘internal/fs’ Get this error? vagrant@homestead:*****$ gulp module.js:472 throw err; ^ Error: Cannot find module ‘internal/fs’ at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at evalmachine.:18:20 at Object. (/usr/lib/node_modules/gulp/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:11:1) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) 🤓😎 More and more people

How to fix the Laravel Gulp Error: Cannot find module ‘internal/fs’ Read More »

Travis CI – Laravel Forge / webhook integration

While developing tests for my app, I wanted to have an integration with Laravel Forge in this order: Push to Github after commit Tests done by Travis CI Call the deployment trigger url of Laravel Forge / Envoyer if the test runs successfully. This URL looks like: https://forge.laravel.com/servers/111111/sites/2222222/deploy/http?token=TOKEN To do this, create a travis.yml file like:

Travis CI – Laravel Forge / webhook integration Read More »

Laravel Speed and Performance Optimization 101 – The Guideline

I am working with a pretty heavy Laravel site with many requests and lots of Eloquent/SQL calls. Even though the high-memory and high-cpu VPS, I felt there is room for performance improvement. That is why I would like to write out some improvements to speed up Laravel: 1. Use Database or Redis for cache and sessions

Laravel Speed and Performance Optimization 101 – The Guideline Read More »

Laravel 5.3 change login path and prevent registration

Prevent that /login is the default path for login Thanks to Stackoverflow. Go to your routes/web.php And change: Auth::routes(); Into: // Login Route::group([‘middleware’ => [‘web’]], function() { Route::get(‘login-new-address’, [‘as’ => ‘login’, ‘uses’ => ‘Auth\LoginController@showLoginForm’]); Route::post(‘login-new-address’, [‘as’ => ‘login.post’, ‘uses’ => ‘Auth\LoginController@login’]); Route::post(‘logout-new-address’, [‘as’ => ‘logout’, ‘uses’ => ‘Auth\LoginController@logout’]); }); // Registration Routes… Route::get(‘register’, [‘as’ =>

Laravel 5.3 change login path and prevent registration Read More »

Laravel Forge Ubuntu Update and Upgrade Manual with OpenSSL bugfixes

Be careful: Not all commands have been fully tested, you use these instructions with care and on your own risk. To repeat, as goes for all our articles, using our instructions is on your own risk! This article primarily focuses on Ubuntu 14.04 and 16.04 servers that are working with Laravel Forge, but it can

Laravel Forge Ubuntu Update and Upgrade Manual with OpenSSL bugfixes Read More »

Laravel 5 socialite with Facebook integration

Would you like to offer a Facebook login functionality next to a regular e-mail based login? This is a tutorial to achieve that with Laravel 5 and the Socialite plugin. This tutorial is based on Matt Stauffer’s tutorial. First of all pull in Laravel Socialite via composer: composer require laravel/socialite Create the users and password_remember

Laravel 5 socialite with Facebook integration Read More »

en_USEnglish
Scroll to Top