<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Md Rasheduzzaman</title>
    <description>The latest articles on Forem by Md Rasheduzzaman (@mrzstack).</description>
    <link>https://forem.com/mrzstack</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F633457%2Fc7bfc042-8efa-4e20-9262-fa9d3f93cd91.jpg</url>
      <title>Forem: Md Rasheduzzaman</title>
      <link>https://forem.com/mrzstack</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mrzstack"/>
    <language>en</language>
    <item>
      <title>🚀 Simplify ZKTeco Biometric Device Integration in PHP — No SDK Needed!</title>
      <dc:creator>Md Rasheduzzaman</dc:creator>
      <pubDate>Wed, 22 Oct 2025 09:45:01 +0000</pubDate>
      <link>https://forem.com/mrzstack/simplify-zkteco-biometric-device-integration-in-php-no-sdk-needed-5f9b</link>
      <guid>https://forem.com/mrzstack/simplify-zkteco-biometric-device-integration-in-php-no-sdk-needed-5f9b</guid>
      <description>&lt;h1&gt;
  
  
  🚀 Simplify ZKTeco Biometric Device Integration in PHP — No SDK Needed
&lt;/h1&gt;

&lt;p&gt;Working with &lt;strong&gt;ZKTeco biometric attendance devices&lt;/strong&gt; can be frustrating.&lt;br&gt;&lt;br&gt;
Most developers struggle with SDKs that are &lt;strong&gt;Windows-only&lt;/strong&gt;, &lt;strong&gt;hard to configure&lt;/strong&gt;, or &lt;strong&gt;poorly documented&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb6vp9pv5ft7vmzgc71yn.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb6vp9pv5ft7vmzgc71yn.jpg" alt="ZKTeco PHP Library" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That’s why I built &lt;strong&gt;&lt;a href="https://github.com/jmrashed/zkteco" rel="noopener noreferrer"&gt;&lt;code&gt;jmrashed/zkteco&lt;/code&gt;&lt;/a&gt;&lt;/strong&gt; —&lt;br&gt;&lt;br&gt;
an open-source &lt;strong&gt;PHP library&lt;/strong&gt; that lets you connect directly to any &lt;strong&gt;ZKTeco device via TCP/IP&lt;/strong&gt; and manage data seamlessly.&lt;/p&gt;


&lt;h2&gt;
  
  
  💡 What This Library Does
&lt;/h2&gt;

&lt;p&gt;This package gives PHP developers a &lt;strong&gt;simple, clean API&lt;/strong&gt; to communicate with ZKTeco devices —&lt;br&gt;&lt;br&gt;
no proprietary SDKs or Windows dependencies required.&lt;/p&gt;

&lt;p&gt;You can easily:&lt;/p&gt;

&lt;p&gt;✅ Connect to your device using IP and port&lt;br&gt;&lt;br&gt;
✅ Retrieve attendance logs&lt;br&gt;&lt;br&gt;
✅ Add, update, or delete users&lt;br&gt;&lt;br&gt;
✅ Clear attendance data&lt;br&gt;&lt;br&gt;
✅ Restart the device remotely  &lt;/p&gt;

&lt;p&gt;All using &lt;strong&gt;pure PHP&lt;/strong&gt;, compatible with &lt;strong&gt;Laravel&lt;/strong&gt;, &lt;strong&gt;CodeIgniter&lt;/strong&gt;, or &lt;strong&gt;standalone PHP apps&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  🧠 Quick Start
&lt;/h2&gt;

&lt;p&gt;Install via Composer:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;composer require jmrashed/zkteco&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Usage:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;jmrashed\Zkteco\Lib\ZKTeco&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nv"&gt;$zk&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;ZKTeco&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'192.168.1.201'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$zk&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;connect&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$attendance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$zk&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;getAttendance&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
    &lt;span class="nb"&gt;print_r&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$attendance&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nv"&gt;$zk&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;disconnect&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That’s it — you’ve just pulled &lt;strong&gt;attendance logs directly from your ZKTeco device&lt;/strong&gt; 🎯&lt;/p&gt;

&lt;h2&gt;
  
  
  📊 Current Stats
&lt;/h2&gt;

&lt;p&gt;📦 &lt;strong&gt;3,136+ installs&lt;/strong&gt; on Packagist&lt;br&gt;
⭐ &lt;strong&gt;30+ stars&lt;/strong&gt; on GitHub&lt;br&gt;
🍴 &lt;strong&gt;11 forks&lt;/strong&gt;&lt;br&gt;
🐛 &lt;strong&gt;8 active issues&lt;/strong&gt; (community-driven improvements ongoing)&lt;/p&gt;

&lt;p&gt;Already used in &lt;strong&gt;HRM&lt;/strong&gt;, &lt;strong&gt;ERP&lt;/strong&gt;, and &lt;strong&gt;attendance SaaS systems&lt;/strong&gt; across multiple companies.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚙️ Why This Matters
&lt;/h2&gt;

&lt;p&gt;ZKTeco integration is a critical feature for enterprise and HR software —&lt;br&gt;
but SDK limitations often slow developers down.&lt;/p&gt;

&lt;p&gt;This library bridges that gap — enabling &lt;strong&gt;faster&lt;/strong&gt;, &lt;strong&gt;cross-platform&lt;/strong&gt;, and &lt;strong&gt;cloud-ready&lt;/strong&gt; attendance solutions in PHP.&lt;/p&gt;

&lt;h2&gt;
  
  
  💬 How You Can Help
&lt;/h2&gt;

&lt;p&gt;If you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🖐️ Use &lt;strong&gt;ZKTeco devices&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;🧩 Work on &lt;strong&gt;HRM/ERP systems&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;❤️ Love contributing to &lt;strong&gt;open-source projects&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then this is your chance to &lt;strong&gt;get involved&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;➡️ &lt;a href="https://github.com/jmrashed/zkteco" rel="noopener noreferrer"&gt;⭐ Star the repo&lt;/a&gt;&lt;br&gt;
➡️ &lt;a href="https://github.com/jmrashed/zkteco/fork" rel="noopener noreferrer"&gt;🍴 Fork and improve it&lt;/a&gt;&lt;br&gt;
➡️ 🐞 Report issues or suggest features&lt;/p&gt;




&lt;h2&gt;
  
  
  🔗 Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/jmrashed/zkteco" rel="noopener noreferrer"&gt;https://github.com/jmrashed/zkteco&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Packagist:&lt;/strong&gt; &lt;a href="https://packagist.org/packages/jmrashed/zkteco" rel="noopener noreferrer"&gt;https://packagist.org/packages/jmrashed/zkteco&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;If this project saves you time or helps your next PHP project,&lt;br&gt;
please &lt;strong&gt;⭐ the repository&lt;/strong&gt; — it really helps the project grow 🙌&lt;/p&gt;

&lt;h1&gt;
  
  
  php #opensource #iot #biometrics #zkteco #laravel #developers #saas #hrtech
&lt;/h1&gt;

</description>
      <category>opensource</category>
      <category>iot</category>
      <category>php</category>
      <category>tooling</category>
    </item>
    <item>
      <title>🚀 Building a Production-Ready PHP REST API Framework (Open Source)</title>
      <dc:creator>Md Rasheduzzaman</dc:creator>
      <pubDate>Tue, 21 Oct 2025 04:37:01 +0000</pubDate>
      <link>https://forem.com/mrzstack/building-a-production-ready-php-rest-api-framework-open-source-3jo</link>
      <guid>https://forem.com/mrzstack/building-a-production-ready-php-rest-api-framework-open-source-3jo</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr3vf59fmt0tgo8n7nrn9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr3vf59fmt0tgo8n7nrn9.png" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
After building and managing 25+ enterprise applications (ERP, HRM, CRM, LMS, SaaS), I realized most PHP frameworks are powerful but heavy for small, API-only or microservice projects.&lt;/p&gt;

&lt;p&gt;So, I decided to build a custom, production-ready REST API framework in raw PHP — clean, lightweight, and fully modular — now open-sourced on GitHub! 🎉&lt;/p&gt;

&lt;p&gt;⚙️ Why I Built This&lt;/p&gt;

&lt;p&gt;I wanted complete control over every layer: routing, middleware, authentication, and performance.&lt;/p&gt;

&lt;p&gt;I needed something faster and leaner than Laravel for internal APIs and microservices.&lt;/p&gt;

&lt;p&gt;I wanted to learn deeply how an API framework works under the hood — HTTP handling, dependency injection, error management, and versioning.&lt;/p&gt;

&lt;p&gt;🧩 Framework Highlights&lt;/p&gt;

&lt;p&gt;✅ Lightweight &amp;amp; Fast – built on raw PHP 8+, PSR-4 autoloading&lt;br&gt;
✅ JWT Authentication – secure token-based access&lt;br&gt;
✅ Clean Modular Structure – controllers, routes, middleware&lt;br&gt;
✅ Built-in CLI &amp;amp; Job Queue System&lt;br&gt;
✅ Debug Mode – track queries, memory, and response time&lt;br&gt;
✅ API Versioning Support&lt;br&gt;
✅ Error Handling, CORS, and Rate Limiting&lt;br&gt;
✅ Ready for Docker &amp;amp; Production&lt;/p&gt;

&lt;p&gt;🏗 Folder Structure Example&lt;br&gt;
app/&lt;br&gt;
 ├── core/&lt;br&gt;
 ├── controllers/&lt;br&gt;
 ├── middleware/&lt;br&gt;
 ├── models/&lt;br&gt;
 ├── routes/&lt;br&gt;
 ├── storage/&lt;br&gt;
public/&lt;br&gt;
 └── index.php&lt;/p&gt;

&lt;p&gt;This structure keeps everything modular, testable, and scalable.&lt;/p&gt;

&lt;p&gt;🧠 Learn the Full Process&lt;/p&gt;

&lt;p&gt;I documented every step — from architecture planning to deployment — in this detailed Medium article:&lt;br&gt;
👉 &lt;a href="https://medium.com/@jmrashed/building-a-production-ready-php-rest-api-framework-a-complete-guide-253c8ec95c40" rel="noopener noreferrer"&gt;Building a Production-Ready PHP REST API Framework — A Complete Guide&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💻 Explore the Source Code&lt;/p&gt;

&lt;p&gt;You can explore, fork, or contribute on GitHub:&lt;br&gt;
👉 &lt;a href="https://github.com/jmrashed/php-rest-api-pro-kit" rel="noopener noreferrer"&gt;https://github.com/jmrashed/php-rest-api-pro-kit&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🤝 Contribute &amp;amp; Feedback&lt;/p&gt;

&lt;p&gt;I’d love your feedback and suggestions!&lt;br&gt;
If you find it useful:&lt;/p&gt;

&lt;p&gt;⭐ Star the repo&lt;/p&gt;

&lt;p&gt;🐛 Report issues&lt;/p&gt;

&lt;p&gt;💬 Share ideas to improve&lt;/p&gt;

&lt;p&gt;Let’s make this the go-to starting point for developers who want to build fast, clean, production-ready APIs with PHP!&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>architecture</category>
      <category>api</category>
      <category>php</category>
    </item>
    <item>
      <title>Why does the First Flutter app take so long?</title>
      <dc:creator>Md Rasheduzzaman</dc:creator>
      <pubDate>Thu, 29 Sep 2022 19:15:02 +0000</pubDate>
      <link>https://forem.com/mrzstack/why-does-the-first-flutter-app-take-so-long-46pk</link>
      <guid>https://forem.com/mrzstack/why-does-the-first-flutter-app-take-so-long-46pk</guid>
      <description>&lt;p&gt;When we build the Flutter application the first time, it will take more time. It is because Flutter developed the device-specific IPA or APK file. So, the Xcode and Gradle are used for building the file, taking more time.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>devops</category>
      <category>dart</category>
      <category>time</category>
    </item>
    <item>
      <title>What are access modifiers in C++?</title>
      <dc:creator>Md Rasheduzzaman</dc:creator>
      <pubDate>Sat, 03 Sep 2022 16:43:39 +0000</pubDate>
      <link>https://forem.com/mrzstack/what-are-access-modifiers-in-c-1kh0</link>
      <guid>https://forem.com/mrzstack/what-are-access-modifiers-in-c-1kh0</guid>
      <description>&lt;p&gt;One of the main features of object-oriented programming languages such as C++ is data hiding. Data hiding refers to restricting access to data members of a class. This is to prevent other functions and classes from tampering with the class data.&lt;/p&gt;

&lt;p&gt;You use access modifiers to define accessibility for the class members. It defines how to access the members of the class outside the class scope.&lt;/p&gt;

&lt;p&gt;There are three types of access modifiers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Private&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Public&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protected&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flnkvew50f8zwy3h6ayk5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flnkvew50f8zwy3h6ayk5.jpg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>accessmodifiers</category>
    </item>
    <item>
      <title>What is the difference between C and C++?</title>
      <dc:creator>Md Rasheduzzaman</dc:creator>
      <pubDate>Sat, 03 Sep 2022 16:31:57 +0000</pubDate>
      <link>https://forem.com/mrzstack/what-is-the-difference-between-c-and-c-3fl7</link>
      <guid>https://forem.com/mrzstack/what-is-the-difference-between-c-and-c-3fl7</guid>
      <description>&lt;p&gt;C and C++ are programming languages that are used for developing applications, games, database systems, operating systems, and more. While both C and C++ may sound similar, their features and usage are different. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;C is a procedure-oriented programming language&lt;/li&gt;
&lt;li&gt;It follows a top-down approach&lt;/li&gt;
&lt;li&gt;C doesn’t support function or operator overloading&lt;/li&gt;
&lt;li&gt;C language doesn’t support virtual and friend function&lt;/li&gt;
&lt;li&gt;C language has 32 keywords &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;C++&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;C++ is a partially object-oriented programming language&lt;/li&gt;
&lt;li&gt;It follows a bottom-up approach&lt;/li&gt;
&lt;li&gt;C++ supports function as well as function overloading&lt;/li&gt;
&lt;li&gt;C++ language supports both virtual and friend functions.&lt;/li&gt;
&lt;li&gt;C++ language contains 52 keywords&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Read related articles:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://dev.to/jmrashed/bitsstdch-in-c-1p1l"&gt;C++ header&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>&lt;bits/stdc++.h&gt; in C++</title>
      <dc:creator>Md Rasheduzzaman</dc:creator>
      <pubDate>Sat, 03 Sep 2022 15:33:25 +0000</pubDate>
      <link>https://forem.com/mrzstack/bitsstdch-in-c-1p1l</link>
      <guid>https://forem.com/mrzstack/bitsstdch-in-c-1p1l</guid>
      <description>&lt;p&gt;It is basically a header file that includes every standard library.&lt;/p&gt;

&lt;p&gt;People do focus more on finding the algorithm to solve a problem than on software engineering.&lt;/p&gt;

&lt;p&gt;𝘼𝙙𝙫𝙖𝙣𝙩𝙖𝙜𝙚𝙨 𝙤𝙛 𝙗𝙞𝙩𝙨/𝙨𝙩𝙙 𝙞𝙣 𝙘++&lt;/p&gt;

&lt;p&gt;✔ In contests, using this file is a good idea, when you want to reduce the time wasted doing chores; especially when your rank is time sensitive.&lt;/p&gt;

&lt;p&gt;✔ This also reduces all the chores of writing all the necessary header files.&lt;/p&gt;

&lt;p&gt;✔ You don’t have to remember all the STL of GNU C++ for every function you use.&lt;/p&gt;

&lt;p&gt;𝘿𝙞𝙨𝙖𝙙𝙫𝙖𝙣𝙩𝙖𝙜𝙚𝙨 𝙤𝙛 𝙗𝙞𝙩𝙨/𝙨𝙩𝙙 𝙞𝙣 𝘾++&lt;/p&gt;

&lt;p&gt;✘ bits/stdc++.h is a non-standard header file of GNU C++ library. So, if you try to compile your code with some compiler other than GCC it might fail.&lt;/p&gt;

&lt;p&gt;✘ Using it would include a lot of unnecessary stuff and increase compilation time.&lt;/p&gt;

&lt;p&gt;✘ This header file is not part of the C++ standard and is, therefore, non-portable, and should be avoided.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8gsabrbrpf2ii7l6p12l.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8gsabrbrpf2ii7l6p12l.jpg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Read related articles:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://dev.to/jmrashed/what-is-the-difference-between-c-and-c-3fl7"&gt;What is the difference between C and C++?&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
