How to check if the page is home page in Laravel | TL Dev Tech
In most cases we don't need to detect home page as there are separated views and controllers for each page already. Carrying out a task on a specific page
Laravel comes with Blade templating engine which makes easier to create pages. Blade view file compiled into plain PHP code. Blade view files has .blade.php extension. You can use PHP code in it. In this tutorial, I will create a simple application where pass data to view.
Every few years, I feel the pressure to redesign my blog. Design trends change fast, and so does my taste. Once I don't like my site anymore, I cannot let go. I need to work on a new redesign. This article is about the latest redesign of my Laravel blog.
How do I pass a variable to the layout using Laravel' Blade templating?
In Laravel 4, my controller uses a Blade layout:
class PagesController extends BaseController {
protected $layout = 'layouts.master';
}
The master layout has outputs the variable title and then
Flexbox & Sass Grid Tutorial: How to Streamline Responsive Design | Toptal
Explore using Sass and CSS3 Flexbox for making your own responsive grid similar to Bootstrap, but without the additional bloat of a full-fledged UI framework.
On my mac I've got php installed and working fine. I recently wanted to install mcrypt, so I did so using brew. Although it seemed to install fine, it doesn't show up in my phpinfo(). So I think th...
Spatie is a digital allrounder: we design solid websites & web applications using Laravel & Vue. No frills, just
proven expertise. From Antwerp, Belgium
Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. /// Chat with us and others on Spectrum: https:...