yanikkumar

Web Developer at India

Member Since 11 Months Ago

Hamirpur, Himachal Pradesh

Experience Points
2,330
Total
Experience

2,670 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
4
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 1
2,330 XP
Mar
18
1 month ago
Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

Thankyou so much you cleared out my way sir. That was really helpful. I found out the way to continue further. Also this was a good idea to perform the action. Really appreciated, I was working on for getting 200 status with this but it was always returning true

$authUser->toggleFollow($user);

return response()->json(['success' => true]);

but @snapey thanks. Thanks again and thankyou all of you for your help.

Mar
17
1 month ago
Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

@snapey Code is working all good. I was just trying to use jquery and access the attach and detach method so that I can easily change the text value once follow button is clicked.

Mar
15
1 month ago
Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

Someone suggested We shouldn't be touching the traits files of the package.Should I add something in that?

public function follow($user)
    {
        $isPending = $user->needsToApproveFollowRequests() ?: false;

        $this->followings()->attach($user, [
            'accepted_at' => $isPending ? null : now()
        ]);

        return ['pending' => $isPending];
    }

    /**
     * @param \Illuminate\Database\Eloquent\Model|int $user
     */
    public function unfollow($user)
    {
        $this->followings()->detach($user);
    }

    /**
     * @param \Illuminate\Database\Eloquent\Model|int $user
     *
     */
    public function toggleFollow($user)
    {
        $this->isFollowing($user) ? $this->unfollow($user) : $this->follow($user);
    }

Here is the methods in the trait files. PS: I don't know why are you mocking that way?

Mar
14
1 month ago
Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@snapey I can only understand that my response is getting null. in the networks tab I don't know why I'm logged in

Is is because of any middleware issues?

Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

Brother it is all correct in the traits no problem with trait, the response code is ok but the response in getting null

Mar
13
1 month ago
Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

@michaloravec

It is just my old project I was upgrading some stuff. I upgraded to version 6 the problem is same.

Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

@michaloravec

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "guzzlehttp/guzzle": "^7.2",
        "intervention/image": "^2.5",
        "laravel/framework": "5.8.*",
        "laravel/socialite": "^4.2.0",
        "laravel/tinker": "^1.0",
        "nesbot/carbon": "^2.45",
        "overtrue/laravel-follow": "^2.2",
        "unisharp/laravel-filemanager": "^2.2"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^3.0",
        "phpunit/phpunit": "^7.5"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\Foundation\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    }
}

Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

Did that but still the same problem. And I never changed anything in vendor.

Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

Everything is ok. as I said everything is working i.e. user is getting followed and unfollowed but the console log it logs undefined.

toggleFollow is a method inside followable trait

Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

I've added these ofc

use Overtrue\LaravelFollow\Followable;

class User extends Authenticatable
{
    use Followable;
}
Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

here it says toggleFollow($user) is an undefined method.

and if I use instance of User again like this

if ($authUser instanceof User && $user = User::find($request->user_id)) {
            return response()->json(['success' => $authUser->toggleFollow($user)]);
        }

        return response()->json(['success' => false]);

still getting null

OOPS! :)

Activity icon

Replied to Getting Response()->json() As Undefined In Consolelog

I'm logged in still same thing

Activity icon

Started a new Conversation Getting Response()->json() As Undefined In Consolelog

I was working on overtrue/laravel-follow package and was using ajax call to follow a user and unfollow. scripts file includes:

$(document).ready(function(){
    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });

    $('.btn-follow').click(function() {
        let user_id = $(this).data('id');
        let object = $(this);

        $.ajax({
            type: 'POST',
            url: '/follow',
            data: { user_id: user_id },
            dataType: 'json',
            success: function(data) {
                console.log(data.success);
            },
        });
    });
});

User Controller Follow method:

public function follow(Request $request)
    {
        $authUser = Auth::user();
        $user = User::findOrFail($request->user_id);

        if ($authUser !== null && $authUser instanceof User) {
            $response = $authUser->toggleFollow($user);
        	return response()->json(['success' => $response]);
		}
    }

Routes:

Route::post('/follow', '[email protected]')->name('user.follow');

I'm getting undefined object in the console and no object with attached and detached. What is the problem

PS: It is surprising that method is still working and follow unfollow is working behind the scene

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

Yes Sir, Any way this is working like this anyhow, but I'm not sure why. I tried to figure that out and came up with this solution.

    public function follow(Request $request)
    {
        $authUser = Auth::user();
        $user = User::findOrFail($request->user_id);

        if ($authUser !== null && $authUser instanceof User) {
            $response = $authUser->toggleFollow($user);
        }

        return response()->json(['success' => $response]);
    }

using if ($authUser !== null && $authUser instanceof User) { } This condition let me access the toggleFollower() method.

But now another problem here. the response()->json(['success' => $response]);

returning undefined while console log.

Mar
12
1 month ago
Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@snapey Hey, there I checked everything, and it all same. I'm having one problem. I guess the trait method is not accessible in the controller as expected.

Overtrue Followable is in User Model and I'm accessing toggleFollow($user) it in UserController which includes User model

but still say toggleFollow() is undefined that's the final problem.

Edit: when I'm using

User::toggleFollow($user) 

Then the method is accessible but that's not how we should use. But when using

Auth::user()->toggleFollow($user) 

Then method is undefined.

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

I did nothing it is still there. I guess I've to redo the process again and see where I'm having problem.

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

Auth::user()->toggleFollow($user)

When a trait is used by a class, its methods are mixed in with the class own method so it is as if the User class (in this case) has all of the Followable method itself.

You mentioned this earlier and I fixed that but it says toggleFollow($user) method is undefined I don't know why, I'll try to figure out.

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@martinbean What you asked earlier

[2021-03-12 14:16:56] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [] is not defined. at C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Log\LogManager.php:168)
[stacktrace]
#0 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Log\LogManager.php(102): Illuminate\Log\LogManager->resolve(NULL)
#1 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Log\LogManager.php(90): Illuminate\Log\LogManager->get(NULL)
#2 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Log\LogManager.php(500): Illuminate\Log\LogManager->driver()
#3 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(118): Illuminate\Log\LogManager->error('Undefined const...', Array)
#4 C:\Users\belie\Projects\BMNEWS\app\Exceptions\Handler.php(37): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#5 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(378): App\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#6 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(143): Illuminate\Foundation\Console\Kernel->reportException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#7 Command line code(1): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 {main}
"} 
[2021-03-12 14:16:56] laravel.ERROR: Undefined constant 'Overtrue\Laravel' {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Undefined constant 'Overtrue\Laravel' at C:\Users\belie\Projects\BMNEWS\config\app.php:168)
[stacktrace]
#0 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\LoadConfiguration.php(72): require()
#1 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\LoadConfiguration.php(39): Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFiles(Object(Illuminate\Foundation\Application), Object(Illuminate\Config\Repository))
#2 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(210): Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap(Object(Illuminate\Foundation\Application))
#3 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(322): Illuminate\Foundation\Application->bootstrapWith(Array)
#4 C:\Users\belie\Projects\BMNEWS\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(131): Illuminate\Foundation\Console\Kernel->bootstrap()
#5 Command line code(1): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 {main}
"} 

@tykus This is user model

<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use App\Post;
use App\Role;
use App\Photo;
use Overtrue\LaravelFollow\Followable;

class User extends Authenticatable
{
    use Notifiable, Followable;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'name', 'email', 'password', 'role_id', 'photo_id', 'get_email', 'username', 'about', 'url', 'website', 'facebook', 'instagram', 'twitter', 'youtube'
    ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'password', 'remember_token',
    ];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [
        'email_verified_at' => 'datetime',
    ];

    // Relation between role and user
    public function role()
    {
        return $this->belongsTo(Role::class);
    }

    public function photo()
    {
        return $this->belongsTo(Photo::class);
    }

    public function post()
    {
        return $this->hasMany(Post::class);
    }
}

Any other thing I can share?

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@tykus Yes I know publishing is essentially copying files in vendor. I was just explaining what I did and I followed the steps as mentioned in the docs and now I'm stuck at undefined method toggleFollow($user) that's it.

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@snapey I followed this documentation laravel-follow and after

php artisan vendor:publish --provider="Overtrue\LaravelFollow\FollowServiceProvider" --tag=migrations

the folder generated in the vendor was laravel-follow and I can't access the traits in user model. there after I can't use

toggleFollow($user);

saying it is undefined

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@martinbean @tykus

That's why I said I don't know if I'm explaining it correctly or not

By the way thanks for this much help :)

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

I accidentally wrote that and after correcting that still the method is not accessible. And yes I'm reading the docs

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

There is no error showing except the console error 500 " internal server error "

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

Yes while making requests it gives internal server error in the console because the method in the controller that is associated to the model is nit accessible.

Route:

Route::post('/follow', '[email protected]')->name('user.follow');

User model:

use Overtrue\LaravelFollow\Followable;

class User extends Authenticatable
{
    use Followable;
}

UserList Controller:

public function follow(Request $request)
{
    $user = User::find($request->user_id);
    $response = Auth::user()->Followable::toggleFollow($user);

    return response()->json(['success' => $response]);
}

}

AJax Call:

$.ajax({
            type: 'POST',
            url: '/follow',
            data: { user_id: user_id },
            success: function(data) {
                console.log(data.success);
            }
        })
Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@tykus I'm not confusing the structure. Basically the follower trait isn't accessible because it is unable to locate the folder and the followable. So to use followable the

use Overtrue\LaravelFollow\Followable;

must be located correctly and that's confusing because after vendor publish the folder created is laravel-follow

Activity icon

Replied to Need Help Laravel Package Folder Is Renamed Different?

@martinbean Can you help me out with this. I'm having trouble accessing the methods while making a ajax call.

PS: I accidently clicked best answer instead of reply. LOL

Activity icon

Started a new Conversation Need Help Laravel Package Folder Is Renamed Different?

PS: I accidently clicked best answer instead of reply. This is Still Open.

I don't know if I'll explain this correctly or not but I install the package laravel overtrue/follow and using this

use Overtrue\LaravelFollow\Followable;

class User extends Authenticatable

{
    use Followable;

but the problem is folder created in vendor after publishing is

overtrue/laravel-follow/src

and includes the methods. Now the problem is if I rename the folder back to laravelfollow then the method is easily accessible but then error comes in that laravel-follow not found and if let it be like that then the followable is not working.

Need Help!

Mar
02
2 months ago
Activity icon

Started a new Conversation Need Suggestion What To Use (API Or WEB) Next In Laravel Project?

I am working on the project All CRUD operations are made but I want to continue project with more features and build some more modules. Should I create API routes now to continue project so that I can use jquery for one click operations. For eg: To like post I don't want to reload the whole page. Just request the ajax call to the route and do the action. Similar thing with follow system. What should I use he api routes and jquery ajax calls. Or should I use live wire to continue the project or vue js for upcoming featuers etc. I'm confused right now to continue with features.

Mar
01
2 months ago
Activity icon

Replied to How To Implement Proof Reading Feature In Laravel?

Ohh cool thanks that's great. :)

Activity icon

Replied to How To Implement Proof Reading Feature In Laravel?

Example while using tinymce editor It will show the grammatical mistakes to the user while writting. Example languagetools.

Activity icon

Started a new Conversation How To Implement Proof Reading Feature In Laravel?

At a certain point while getting more and more mistakes in my post while writing I thought if any free proof reading tool to implement in the website which can ease the work, to correct few grammar. Grammarly does it better but it can't be implemented in the project.

Is there any package to save time and implement proof reading in the project?

Example of that is this thing: https://languagetool.org/

Activity icon

Replied to How To Create A Custom Domain Url Shortner When Link Is Posted In Article?

Oh! That's cool. So nice of you. Thanks, that was great help. I'd try to work upon it like that and if I succeed I'll open source this thing no doubt. That was a great help. Thanks again.

Activity icon

Replied to How To Create A Custom Domain Url Shortner When Link Is Posted In Article?

I'm trying to implement a logical statement and check whether body has link or not. if it has link then it will be edited with the custom link created by controller with a /{random_number} to link the post . But its way to complicated and confusing I was having this idea to implement for so long. Still finding the way. Need Help

Activity icon

Started a new Conversation How To Create A Custom Domain Url Shortner When Link Is Posted In Article?

Recently I noticed a thing in bigger platforms like linkedin and twitter that when you post a link, they are automatically turned into their custom url shortner

eg: https://t.co/JMAJp82cnm and https://lnkd.in/g-Tdj4p

I would like to implement this thing in my website as well. If anyone post a link in their post/article I'm using

{! $post->body !}

for the post but what if want to showcase each and every link in the post as my custom domain link, PS: I'm using tinymce editor

Also I want each and every link on my website with my custom link like that even the social links they add,

Feb
28
2 months ago
Activity icon

Started a new Conversation Way To Implement AR In Laravel?

I want to implement AR module in my project is there any example and way or any package to implement AR feature using Laravel and also how the UI of the AR should be build? Unity of unreal or any other?

Feb
25
2 months ago
Activity icon

Replied to How To Make Automated Duplicate Content/article Checker In Laravel?

@trin that's just for adding google search. I want to make it like whenever the user save their article they'll get a suggestion in a dialog box that "similar articles has been posted go checkout" or still continue to post.

Activity icon

Started a new Conversation How To Make Automated Duplicate Content/article Checker In Laravel?

I want to create a system where user can't post same type of article which have been published before so that content is not repeated. Also addon to that it'll be helpful to rank on google and scrapped articles won't get posted.

Feb
24
2 months ago
Activity icon

Replied to Check And Count The Impression Analytics On Any Particular Post?

@automica Basically both the things. general public will see the view count and for selling ads as well for advertisers.

Feb
22
2 months ago
Activity icon

Started a new Conversation Create An Invite System In Laravel With Tracking Feature

I want to create an invite system on my website where users can click on button and share the link with their username as code and then if anyone joins with that shareable link, the user who shared the link receive some points. It is just like a basic affiliate link program but instead it receives some points in return of user join. User who shared the link can keep a track on points earned through link and check how many users joined with his/her link.

Activity icon

Started a new Conversation Can We Switch To HackLang By Facebook Inside Laravel Project?

I was reading about how facebook is working on their own superscript of php i.e. HHVM Is it good to adapt that or can it be used in laravel too. It we wish to adapt that in any laravel projects. Or is it just for upgrading core php projects. What are some pros and cons along with security, usage and point of user.

Activity icon

Replied to Check And Count The Impression Analytics On Any Particular Post?

@automica basically the purpose of this is to show a analytics to the users that that much number of impressions had been made on the post/article and they can easily analyze that their post are getting peoples attention. Moreover let me tell give you basic example, we all know ads impressions are counted. So I want to make that kind of impression counter and show that as impressions on article.

Feb
21
2 months ago
Activity icon

Replied to Can We Use Vue Js And Components Building Between The Laravel Project?

Elaborate please, And do you mean I can use vue js for upcoming features of websites and let olderr features in blade template?

Activity icon

Started a new Conversation Can We Use Vue Js And Components Building Between The Laravel Project?

I wish to implement vue js in my project but the problem I was facing is with the SEO of the website as the project is big enough and I can't shift everything on vue from blade templates which I'm using currently. I thought of implementing vue js for next part of the projects and new on going features on the website. Is it possible to build new features in vue js or react js or maybe livewire along with the old features in blade templates of the website. What could be the issues in doing this? Is the best practice or should I continue blade template? If all this is possible, Should I use vue or react for this purpose or Live wire?

Activity icon

Started a new Conversation Ask For Current Location Permissions In Website.

I've seen many websites where the location request pop up and share current location is asked. Can anyone help me out giving me some idea regarding that in laravel application. I wish to implement the feature in website to store location along with date, so that it will help to show the location and time of particular post.

Activity icon

Replied to Separate Components In Laravel Blade Template To Load Separately.

Yes you understood my problem correctly. The thing is using livewire will make me re structure everything and build components again. But is it a good practice to use live wire in a big on going project.

Activity icon

Replied to Check And Count The Impression Analytics On Any Particular Post?

Yes basically the impression over the article or the post in complete list of articles. Example: twitter tweets insights shows impression on tweets. That is big example but I want simple impression so that anyone can analyze how many impressions are there over the article.

Activity icon

Started a new Conversation Check And Count The Impression Analytics On Any Particular Post?

Is there any method to look through the analytics of the view on a particular area of the post created and check the impression over that and list out number of impressions. Kind of like views counter but store the number of impressions instead of whole page view counts.

Activity icon

Replied to Necessity Of Changing Blade Template Into Vue.js/react Js In Laravel Website?

I was reading about live wire too. It seems to be a good option and I would love to use that but it seems too hectic to make livewire component again and copy paste the pages and change them along with the controller. You are saying to stick with the blade templates but it looks annoying when whole page refresh and many other things are loaded without any reason. UX might go down as the website get more and more functionality. I wish if I could save the SEO with frontend frameworks.

Activity icon

Started a new Conversation Separate Components In Laravel Blade Template To Load Separately.

suppose a project has 5 components in view. I don't want to load the same component again and again with whole page refresh. Switching into JS framework like vue and react is not a good choice to implement as the project is big. The component loading must be like when the page refresh the components loads separately and on function trigger the specific component is loaded.

(Laravel Dynamic Template?)

Feb
20
2 months ago
Activity icon

Started a new Conversation Necessity Of Changing Blade Template Into Vue.js/react Js In Laravel Website?

I've project which is using blade template for rendering front-end. I was planning to switch to some other front-end like vue or react js but came to know about the problems of shifting blade templates into vue. As it may ruin the seo of the website along with the problems to completely change the front-end js with hard efforts and all. Is it okay to shift from blade to vue or react. If yes please tell me the best manner. And which one will be good choice vue or react. If no what can be the other way to make website response time faster and ux better along with any chance to build a RWA PS : project is big enough with many methods and functionalities.