As far as I know, uploading images to databases is wrong, but in this specific issue, I have to upload images to SQL Server. I found some results, for example u
First I tried this $mock = m::mock('Cartalyst\Sentry\Facades\Laravel\Sentry'); $mock->shouldReceive('getUser')->once()->andReturn($userInst); But it
when i try to send a GET request with tutorial ,but its not working and end up with 500 internal server error I cant find any error by searching on forum or sta
(figure 1) The above figure 1 image is the snapshot of enroll table, (it belong to the enroll model, enrolls table) (figure 2) Figure 2 is the page view. My q
I believe that I've successfully deployed my (very basic) site to fortrabbit, but as soon as I connect to SSH to run some commands (such as php artisan migrate
What is the artisan command for clearing all session data in Laravel, I'm looking for something like: $ php artisan session:clear But apparently it does not
Having the issue when loading the route /users or /user/add and being return an error of; ReflectionException in Route.php line 280: Class App\Http\Contro
How can I change the app environment at run time? I have some classes that only bind in the service provider in production. I'd like to assert with a unit test
I have a resource controller which is ArticleController and I want to call this controller in web.php, so I coded: use App\Http\Controllers\Admin\PanelControlle
I'm trying to return a table without deleted rows (softdeletes) This is my code public function getMailRecipients($meoId){ return DB::table('mail_recipients
I am following the following this guide, that shows how to enable "Route Based Modals" in Inertia.js. The post is written for Vue2, and I am using Vue3 - and I
I am not able to show images in slider one by one, it displays all images at once. My static code is here and it works well with sliding images. <secti
I have a website built with Laravel. I need to fetch files from my nextcloud storage and display in the website. I have successfully installed sabre/dav to crea
I'm using the following change my log path: \Log::useDailyFiles(...) But I still get log entries in /storage/logs/. How can I use only my log path?
I want to seed database when I use this public function run() { $users = factory(app\User::class, 3)->create(); } Add three user in database but wh
I want to join on a result of other select like this : SELECT * FROM TABLE1 JOIN ( SELECT cat_id FROM TABLE2 where brand_id = 2 GROUP BY TABLE2.cat_id) A
So I'm getting this when I want to submit my form: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) I h
I am trying to override/extend Backpack's default UserCrudController in Laravel 8 so that I can replace the list and edit operations with my own. To do this I t
I'm trying to bind the same value to some parameter in a raw query (Laravel 5.2) //this is a non practical example ,only for clarify the question DB::table('us
I am trying to send a mail using the Laravel inbuilt swift mailer but I keep getting the "Unable to connect with TLS encryption" error everytime. Below is my .e