laravel tips Laravel Route::redirect tip Did you know? You can quickly define a redirect route using Route::redirect('from', 'to') without defining a full route or controller for performing a simple redirect. You can customize the status code returned using the optional third parameter e.g 301 for permanent redirects. Or
laravel tips Laravel config:cache tip Did you know? If you've cached your laravel configuration files with $ php artisan config:cache, env() function calls from everywhere except the config files will return null. Loose recommendation: avoid using env() anywhere in your application as this will give you headaches when you're running in
laravel tips Laravel Route::view tip Did you know? If your route or controller method needs to return a view. You can use Route::view('uri', 'view.name') instead of defining a full route and controller method for returning a simple view. This is particularly useful for static pages like the about,
laravel 02. Understanding Laravel — Facades Laravel is set up in a way that allows the developer to get up to speed as fast as possible and thus it comes with a lot of features baked in by default. Because of its huge size, you may think that it has a very steep learning curve and
laravel 01. Understanding Laravel - The Service Container At the core of the Laravel framework, is the service container. The service container implements one of the several design patterns called Dependency Injection which is a more specific form of Inversion of Control. I am going to try and explain what an application without Dependency Injection looks like so
laravel 00. Understanding Laravel - Introduction An extension to the CodeIgniter framework that would provide certain features out of the box such as basic authentication and authorization for a side project that a .NET programmer, Taylor Otwell was doing back in 2011, would grow to become the most used open-source PHP framework for novice and expert