Laravel container Linking to Docker memcached container

i try to use docker container to link memcached container,but $serve[‘port’] get full URL here for some information laravel .env MEMCACHED_HOST=memcached MEMCACHED_PORT=11211 docker for laravel project docker run –name DAC -d –link mysql57:mysql -p 8082:80 -v –link memcached:memcached dac docker memcached images use official memcached:latest https://hub.docker.com/_/memcached docker run –name memcached -d memcached but unfortunately when…

Laravel Validation 3 fields but only one is required

I like to ask if anyone knows how to validate 3 fields but you must fill only one, not the other 2. Example : <input name=”field1″ type=”numeric”> <input name=”field2″ type=”numeric”> <input name=”field3″ type=”numeric”> field1,field2,field2 can be filled but if i fill field1, field2 and field3 passes, but if i fill field1 and field2, validation triggered…

How to fix “Uncaught ReflectionException: Class view does not exist” in Laravel after deployment to Ubuntu 18.04 server

I am currently hosting an application on a ubuntu 16.04 server… but when i try to deploy the same code on fresh ubuntu 18.04 server i get the following error on my apache logs PHP Fatal error: Uncaught ReflectionException: Class view does not exist in /var/www/xxxxxxxxxxxx/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:788 navigating to that line of code on my laravel…

composer require rebing/graphql-laravel fails

I have the following problem trying to install rebing/graphql-laravel via composer: $ composer require rebing/graphql-laravel Using version ^2.1 for rebing/graphql-laravel ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 – Installation request for rebing/graphql-laravel ^2.1 ->…

Pass a select tag value to a route url on laravel framework

How do I do this in laravel while passing it to a route <select id=”selectUser” name=”selectUser” class=”form-control text-md-right” onchange=”alert(Getfield());”> <option value=”” disabled selected>Please Select Service</option> @foreach($ListServices as $lst) <option value=””></option> @endforeach </select> <?php if(isset(!empty($_GET[‘selectUser’])) { Route + $_GET[‘selectUser’] } ?> This is without a form method just using link route while passing the value of…