Top "Laravel-5.6" questions

Laravel 5.6 is a previous version of the open-source PHP web framework created by Taylor Otwell.

How to validate input data using ajax in laravel

testAjax function inside PostsController class: public function testAjax(Request $request) { $name = $request->input('name'); $validator = Validator::make($request->…

php ajax laravel laravel-validation laravel-5.6
Laravel 5 WebPack JQuery - $ is not defined

I Have webpack.min.js: mix.webpackConfig(webpack => { return { plugins: [ new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', 'window.jQuery': 'jquery', …

jquery laravel laravel-5 webpack laravel-5.6
Laravel 5.6 Api - Search,sort and filter on list of data

Hi I am developing a rest api endpoint for retrieving paginated list of users. In the frontend, there are options …

laravel laravel-5 eloquent laravel-5.6 laravel-request
Laravel 5.6 TrustedProxies error

I've upgraded from L5.5 to L5.6 today (updating Symfony components to v4 in the process). Also I've updated fideloper/proxy …

php laravel proxy laravel-5.6
Vue js triggering a method/function every x seconds

The title pretty much explains it, but i am looking to fire of a function every second. I haven't tried …

vuejs2 laravel-5.6
Laravel Failed to authenticate on SMTP server with username

Am trying to send email by Laravel. But It's getting error. .env file Configuration below : MAIL_DRIVER=smtp MAIL_HOST=…

php laravel-5.6
Upgrade Laravel 5.6 to 5.7

I want to upgrade Laravel to 5.7 because I need new features, but I can't find any easy way. I followed …

laravel laravel-5.6 laravel-5.7
Laravel: How to authenticate users without DB

As the title suggests, is it possible to authenticate without DB (instead, using User Provider)? I've seen posts about how …

php laravel laravel-5 laravel-5.6
Laravel drop foreign Key in Migration

I want to create a Migration which shall drop a table. I created the Migration like this: Schema::table('devices', …

php mysql laravel laravel-5.6
Redirect with compact value in laravel

Route : Route::get('merchantTrans/{id}','MerchantController@merchant'); Merchant Controller : public function merchant($id){ $merchant = Merchant::whereId($id)->…

laravel laravel-5.6 http-redirect