Skip to content

Tag: php

Installing PHP Cassandra Driver – XAMPP on Windows

I am trying to install prebuilt binaries of Cassandra PHP driver on my windows xampp installation. I downloaded the package from here https://pecl.php.net/package/cassandra. I did the following; Extracted the package and added php_cassandra.dll to c:xamppphpext Added extension=php_cassandra.dll in php.ini fil…

OctoberCMS. How to pass variable from page to component?

I have defined a variable in a page: and I want to pass this variable to a component: but this method does not work. How can I do that? Answer I am guessing that you need to pass builderDetails.record to your component ‘Variations’ and then you want to access that variables inside component &#8216…

Proxy pass image Laravel

I’m trying to Proxy serve an HTTP image in my HTTPS site I heard that I can do a proxy serve of this file in one of my endpoint and render it in my site instead of displaying the actual file url. …

Why is broadcasting/auth not found?

Already uncommented at config/app.php: and Error: I am using Mamp 4 and Laravel 5.5. Answer Try this commands php artisan config:cache composer require pusher/pusher-php-server “~2.6” (user 2.6 because 3.0 has class Pusher not found issue) composer update (just to make sure everything is up to dat…

How to do filter for products (laravel)

I do the online shop. I have 3 pages where filters for products are similar – Catalog page, parent category page and children category page The filter is made via get requests, like that: site/catalog?price_from=1&price_to=9999&color=red. How to make this filter into a separate function? Will it…