Making a View Counter for GitHub Repos - Easy PHP Tutorial

Veröffentlicht am: 20 Oktober 2020
auf dem Kanal: Jonah Lawrence • Dev Pro Tips
2,444
38

View Counter Beginner Tutorial in PHP for websites, Github repos, and profiles on many sites.

❤ Subscribe: http://bit.ly/SubscribeDPT

In this tutorial I will show you how to create a PHP file which will output an svg image of the current number of views your page has gotten. You can put this on a server and use the URL as the image source to easily get a live view counter on you Github repo or profile page which will automatically update. This can also be used on personal websites, Patreon pages, Wordpress posts, and much more.

How to set up XAMPP for running PHP
►    • How to run your HTML/PHP site on localhost...  

How to deploy your app for free on Heroku
▶    • Heroku Tutorial - Deploy your app or websi...  

The editor I will be using is Visual Studio Code with a custom theme based on Material Theme Darker High Contrast.

👨‍💻 My code on GitHub
► https://github.com/DenverCoder1/Simpl...

📺 In this video:
0:00 - Intro
0:33 - Creating the workspace
1:37 - Incrementing a file
5:56 - Outputting an image
10:39 - Disabling cache
12:11 - Short number format
14:50 - Putting your image on GitHub
15:59 - Conclusion

🖥 More Web Development tutorials
▶    • Web Development  

💻 More tutorials
►    • Tutorials  

🙋‍♂️ Find me on other channels
Reddit 👽   / devprotips  
Twitter ✍   / denvercoder1  
Github 👨‍💻 https://github.com/DenverCoder1
Sponsor 💞 https://github.com/sponsors/DenverCoder1
Buy me a coffee ☕ https://ko-fi.com/jlawrence

💖 SPONSORS 💖
Get your username or a link to your channel here by sponsoring on Github
▶ https://github.com/sponsors/DenverCoder1

🎁 GET FREE STUFF WHILE SUPPORTING MY TUTORIALS
► https://bit.ly/jlawrencepromos


Auf dieser Seite können Sie das Online-Video Making a View Counter for GitHub Repos - Easy PHP Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Jonah Lawrence • Dev Pro Tips 20 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,444 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!