Category: Laravel, PHP

Good content takes time and effort to come up with. Please consider supporting us by just disabling your AD BLOCKER and reloading this page again. Most of the time you might require some generic data which needs to be made available across all the Laravel Blade pages.

To make data available generic across all the view pages one of the simplest ways is to add it in AppServiceProvider.php boot function as shown below

Select2 DropdownObservers In LaravelRelationship Table Data With Route Model Binding In LaravelGetting Started With AMP (Accelerated Mobile Pages)Setup AMP (Accelerated Mobile Pages) In PHP LaravelAdd Analytics To AMP (Accelerated Mobile Pages) HTML PagesAdd Google ADS In AMP (Accelerated Mobile Pages) Website
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners