<?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>DEV Community: Valentine Kalu</title>
    <description>The latest articles on DEV Community by Valentine Kalu (@valentinekalu).</description>
    <link>https://dev.to/valentinekalu</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3395132%2F50e77c09-cf3c-4c8c-a52a-2e005f4922b9.jpg</url>
      <title>DEV Community: Valentine Kalu</title>
      <link>https://dev.to/valentinekalu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/valentinekalu"/>
    <language>en</language>
    <item>
      <title>SqueHub v2.0.0 Is Here — A New Generation of the PHP Framework for Modern Web Builders</title>
      <dc:creator>Valentine Kalu</dc:creator>
      <pubDate>Tue, 06 Oct 2026 16:09:47 +0000</pubDate>
      <link>https://dev.to/squehub/squehub-v200-is-here-a-new-generation-of-the-php-framework-for-modern-web-builders-3ajd</link>
      <guid>https://dev.to/squehub/squehub-v200-is-here-a-new-generation-of-the-php-framework-for-modern-web-builders-3ajd</guid>
      <description>&lt;h1&gt;
  
  
  SqueHub v2.0.0 Is Here 🚀
&lt;/h1&gt;

&lt;p&gt;After a major development effort, &lt;strong&gt;SqueHub v2.0.0 is officially available.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the first stable release of the SqueHub v2 generation and represents much more than an update to SqueHub v1.&lt;/p&gt;

&lt;p&gt;SqueHub v2 was rebuilt around a simple goal:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Make PHP development simple to start, powerful enough to grow, and pleasant to work with.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;SqueHub is an open-source PHP framework for building modern web applications, APIs, services, and modular applications without unnecessarily complicating the development experience.&lt;/p&gt;

&lt;p&gt;Version &lt;strong&gt;2.0.0&lt;/strong&gt; requires &lt;strong&gt;PHP 8.2+&lt;/strong&gt; and introduces a redesigned foundation across routing, data, security, background processing, developer tooling, packages, and more.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why SqueHub v2?
&lt;/h2&gt;

&lt;p&gt;When building v2, I didn't want to simply add more features to the existing framework.&lt;/p&gt;

&lt;p&gt;The goal was to create a stronger foundation.&lt;/p&gt;

&lt;p&gt;SqueHub v2 separates your application from the framework itself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;App/          Framework internals
Config/       Application configuration
Database/     Migrations, Seeders, and Factories
Project/      Your application
public/       Public web root and assets
Storage/      Private runtime data
Documentation/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most application development happens inside:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Project/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That includes your:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Controllers&lt;/li&gt;
&lt;li&gt;Models&lt;/li&gt;
&lt;li&gt;Routes&lt;/li&gt;
&lt;li&gt;Views&lt;/li&gt;
&lt;li&gt;Middleware&lt;/li&gt;
&lt;li&gt;Packages&lt;/li&gt;
&lt;li&gt;Kits&lt;/li&gt;
&lt;li&gt;Application-specific logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The framework internals remain under &lt;code&gt;App/&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This separation is designed to keep SqueHub applications organized and make the framework easier to evolve.&lt;/p&gt;




&lt;h2&gt;
  
  
  A New Routing API
&lt;/h2&gt;

&lt;p&gt;Routing was one of the areas redesigned for SqueHub v2.&lt;/p&gt;

&lt;p&gt;A simple route looks like this:&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="cp"&gt;&amp;lt;?php&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;App\Plugins\Route&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;Route&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/hello'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;fn&lt;/span&gt; &lt;span class="p"&gt;():&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Hello, SqueHub!'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Controller routes can remain expressive while keeping the path at the center of the declaration:&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="nc"&gt;Route&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/users/{id}'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="nc"&gt;UserController&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;class&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'show'&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;named&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'users.show'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;through&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'auth'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Groups can also compose prefixes and middleware:&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="nc"&gt;Route&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;group&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;prefix&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/admin'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;through&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'auth'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;routes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;():&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// Admin routes&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The goal isn't to create clever syntax.&lt;/p&gt;

&lt;p&gt;It's to make routes easy to read when you return to a project months later.&lt;/p&gt;




&lt;h2&gt;
  
  
  Middleware
&lt;/h2&gt;

&lt;p&gt;SqueHub v2 includes a middleware pipeline for handling concerns such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authentication&lt;/li&gt;
&lt;li&gt;Authorization&lt;/li&gt;
&lt;li&gt;Rate limiting&lt;/li&gt;
&lt;li&gt;CSRF protection&lt;/li&gt;
&lt;li&gt;Request filtering&lt;/li&gt;
&lt;li&gt;Package middleware&lt;/li&gt;
&lt;li&gt;Application-specific request processing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Middleware can be attached directly to routes or composed through route groups.&lt;/p&gt;




&lt;h2&gt;
  
  
  Database, Models, and Migrations
&lt;/h2&gt;

&lt;p&gt;The data layer in v2 includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Database connection management&lt;/li&gt;
&lt;li&gt;Query builder&lt;/li&gt;
&lt;li&gt;Schema builder&lt;/li&gt;
&lt;li&gt;Migrations&lt;/li&gt;
&lt;li&gt;Models&lt;/li&gt;
&lt;li&gt;Collections&lt;/li&gt;
&lt;li&gt;Pagination&lt;/li&gt;
&lt;li&gt;Seeders&lt;/li&gt;
&lt;li&gt;Factories&lt;/li&gt;
&lt;li&gt;Model relationships&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Relationships include support for:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;hasOne
hasMany
belongsTo
belongsToMany
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Models also support eager loading and relationship caching.&lt;/p&gt;




&lt;h2&gt;
  
  
  Authentication and Authorization
&lt;/h2&gt;

&lt;p&gt;Security is another major part of SqueHub v2.&lt;/p&gt;

&lt;p&gt;The framework includes foundations for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authentication&lt;/li&gt;
&lt;li&gt;Multiple guards&lt;/li&gt;
&lt;li&gt;Authorization&lt;/li&gt;
&lt;li&gt;Policies&lt;/li&gt;
&lt;li&gt;Abilities&lt;/li&gt;
&lt;li&gt;Password hashing&lt;/li&gt;
&lt;li&gt;Password changes&lt;/li&gt;
&lt;li&gt;Password reset tokens&lt;/li&gt;
&lt;li&gt;Email verification&lt;/li&gt;
&lt;li&gt;Personal access tokens&lt;/li&gt;
&lt;li&gt;Session security&lt;/li&gt;
&lt;li&gt;CSRF protection&lt;/li&gt;
&lt;li&gt;Rate limiting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SqueHub v2 also includes credential/session protections designed for applications where account security matters.&lt;/p&gt;




&lt;h2&gt;
  
  
  Views
&lt;/h2&gt;

&lt;p&gt;SqueHub includes its own view system.&lt;/p&gt;

&lt;p&gt;Templates use the &lt;code&gt;.squehub.php&lt;/code&gt; extension and support features including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Escaped output&lt;/li&gt;
&lt;li&gt;Raw output&lt;/li&gt;
&lt;li&gt;Layouts&lt;/li&gt;
&lt;li&gt;Components&lt;/li&gt;
&lt;li&gt;Includes&lt;/li&gt;
&lt;li&gt;Forms&lt;/li&gt;
&lt;li&gt;CSRF helpers&lt;/li&gt;
&lt;li&gt;Validation errors&lt;/li&gt;
&lt;li&gt;Old input&lt;/li&gt;
&lt;li&gt;Compiled views&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PHP applications can use SqueHub Views without requiring Node.js.&lt;/p&gt;

&lt;p&gt;For developers who want a frontend toolchain, optional profiles can also support technologies such as &lt;strong&gt;Vite, React, and Vue&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Background Work
&lt;/h2&gt;

&lt;p&gt;Modern applications frequently need work that shouldn't happen directly during an HTTP request.&lt;/p&gt;

&lt;p&gt;SqueHub v2 includes:&lt;/p&gt;

&lt;h3&gt;
  
  
  Queue
&lt;/h3&gt;

&lt;p&gt;Applications can dispatch work to queues and process it through workers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Scheduler
&lt;/h3&gt;

&lt;p&gt;Recurring and scheduled application tasks can be defined and executed through the SqueHub scheduler.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mail
&lt;/h3&gt;

&lt;p&gt;Mail can be sent synchronously or integrated with the queue system.&lt;/p&gt;

&lt;h3&gt;
  
  
  Notifications
&lt;/h3&gt;

&lt;p&gt;Applications can build notification workflows and defer them to background workers when required.&lt;/p&gt;




&lt;h2&gt;
  
  
  Redis, Cache, and Sessions
&lt;/h2&gt;

&lt;p&gt;SqueHub v2 includes Redis integration that can be used across different framework services.&lt;/p&gt;

&lt;p&gt;This includes support for areas such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cache&lt;/li&gt;
&lt;li&gt;Sessions&lt;/li&gt;
&lt;li&gt;Rate limiting&lt;/li&gt;
&lt;li&gt;Queues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Applications that don't require Redis aren't forced to use it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Storage
&lt;/h2&gt;

&lt;p&gt;The storage system supports named drives and provides APIs for operations such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reading&lt;/li&gt;
&lt;li&gt;Writing&lt;/li&gt;
&lt;li&gt;Copying&lt;/li&gt;
&lt;li&gt;Moving&lt;/li&gt;
&lt;li&gt;Directories&lt;/li&gt;
&lt;li&gt;Streams&lt;/li&gt;
&lt;li&gt;Metadata&lt;/li&gt;
&lt;li&gt;File listing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The local storage implementation also includes path validation and protections around filesystem boundaries.&lt;/p&gt;




&lt;h2&gt;
  
  
  Events
&lt;/h2&gt;

&lt;p&gt;Applications can use SqueHub's event system to keep components decoupled.&lt;/p&gt;

&lt;p&gt;Listeners can be registered and events emitted without forcing unrelated components to know about each other.&lt;/p&gt;

&lt;p&gt;This becomes particularly useful as applications and packages grow.&lt;/p&gt;




&lt;h2&gt;
  
  
  HTTP Client
&lt;/h2&gt;

&lt;p&gt;SqueHub v2 includes an HTTP client for communicating with external services and APIs.&lt;/p&gt;

&lt;p&gt;It supports common operations including:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GET
POST
PUT
PATCH
DELETE
HEAD
OPTIONS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Along with features such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON requests&lt;/li&gt;
&lt;li&gt;Form requests&lt;/li&gt;
&lt;li&gt;Multipart requests&lt;/li&gt;
&lt;li&gt;Headers&lt;/li&gt;
&lt;li&gt;Authentication&lt;/li&gt;
&lt;li&gt;Timeouts&lt;/li&gt;
&lt;li&gt;Redirects&lt;/li&gt;
&lt;li&gt;Streaming downloads&lt;/li&gt;
&lt;li&gt;Retries and backoff&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Cryptography
&lt;/h2&gt;

&lt;p&gt;The framework also provides a cryptography layer for protecting application data.&lt;/p&gt;

&lt;p&gt;Depending on the available environment, SqueHub can use modern authenticated encryption implementations while keeping encryption behind a consistent application-facing API.&lt;/p&gt;




&lt;h2&gt;
  
  
  Packages and Kits
&lt;/h2&gt;

&lt;p&gt;Extensibility is important to the direction of SqueHub.&lt;/p&gt;

&lt;p&gt;Applications can be organized using &lt;strong&gt;Packages&lt;/strong&gt; and &lt;strong&gt;Kits&lt;/strong&gt;, while framework functionality intended for developers is exposed through the stable:&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="nc"&gt;App\Plugins&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;namespace.&lt;/p&gt;

&lt;p&gt;For example:&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;App\Plugins\Route&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;App\Plugins\Schema&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="no"&gt;App\Plugins\DB&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The intention is to give developers a stable surface without requiring application code to depend heavily on internal framework implementation details.&lt;/p&gt;




&lt;h2&gt;
  
  
  Developer Tools
&lt;/h2&gt;

&lt;p&gt;SqueHub ships with its own CLI.&lt;/p&gt;

&lt;p&gt;After installing a project, you can inspect available commands with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php squehub &lt;span class="nb"&gt;help&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One command I'm particularly happy with is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php squehub doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Doctor inspects the application environment and helps identify configuration or infrastructure problems.&lt;/p&gt;

&lt;p&gt;Other tooling covers areas such as routes, migrations, queues, scheduling, generators, setup, testing, and diagnostics.&lt;/p&gt;




&lt;h2&gt;
  
  
  Installing SqueHub v2
&lt;/h2&gt;

&lt;p&gt;SqueHub v2 can be installed through Composer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer create-project squehub/squehub my-app &lt;span class="s2"&gt;"^2.0"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;my-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create your environment configuration and generate an application key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php squehub key:generate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check the environment:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php squehub doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And start the application:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php squehub start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can then create your first route inside:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Project/Routes/Web.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;App\Plugins\Route&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;Route&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;fn&lt;/span&gt; &lt;span class="p"&gt;():&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Built with SqueHub 🚀'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Tested Across Windows and Linux
&lt;/h2&gt;

&lt;p&gt;Portability was an important release requirement for v2.0.0.&lt;/p&gt;

&lt;p&gt;The stable release was qualified through CI on both:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ubuntu/Linux&lt;/li&gt;
&lt;li&gt;Windows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The release process also included extensive automated testing across the framework's components.&lt;/p&gt;




&lt;h2&gt;
  
  
  What About SqueHub v1?
&lt;/h2&gt;

&lt;p&gt;SqueHub v2 is a &lt;strong&gt;major-generation release&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It should not be treated as a drop-in update for an existing v1 application.&lt;/p&gt;

&lt;p&gt;There are intentional architecture and API changes between the generations.&lt;/p&gt;

&lt;p&gt;If you're maintaining a SqueHub v1 project, use the official &lt;strong&gt;v1 → v2 upgrade guide&lt;/strong&gt; before migrating.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I'm Trying to Build With SqueHub
&lt;/h2&gt;

&lt;p&gt;There are already excellent PHP frameworks.&lt;/p&gt;

&lt;p&gt;SqueHub isn't being built because PHP needs another framework that simply copies what already exists.&lt;/p&gt;

&lt;p&gt;The goal is to explore a different balance:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simple APIs. Strong internals. Modern capabilities. Clear application structure.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I want a developer to be able to create a small PHP application without fighting the framework, but also have the tools available when that project grows into something much larger.&lt;/p&gt;

&lt;p&gt;SqueHub v2.0.0 is the foundation for that direction.&lt;/p&gt;

&lt;p&gt;And now that the stable v2 generation is available, the next stage isn't only about adding features.&lt;/p&gt;

&lt;p&gt;It's about building the ecosystem and community around it.&lt;/p&gt;




&lt;h2&gt;
  
  
  SqueHub Is Open Source ❤️
&lt;/h2&gt;

&lt;p&gt;SqueHub is released under the &lt;strong&gt;MIT License&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you're a PHP developer, I'd genuinely like you to try it.&lt;/p&gt;

&lt;p&gt;Build something small.&lt;/p&gt;

&lt;p&gt;Explore the routing API.&lt;/p&gt;

&lt;p&gt;Try the ORM.&lt;/p&gt;

&lt;p&gt;Break something.&lt;/p&gt;

&lt;p&gt;Open an issue.&lt;/p&gt;

&lt;p&gt;Suggest an API improvement.&lt;/p&gt;

&lt;p&gt;Build a package.&lt;/p&gt;

&lt;p&gt;Or contribute directly to the framework.&lt;/p&gt;

&lt;p&gt;SqueHub will become better through developers actually using it and challenging its design.&lt;/p&gt;

&lt;h3&gt;
  
  
  Resources
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Website:&lt;/strong&gt; squehub.com&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Documentation:&lt;/strong&gt; squehub.com/docs/v2.x&lt;br&gt;&lt;br&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; github.com/squehub/squehub&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Package:&lt;/strong&gt; &lt;code&gt;squehub/squehub&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer create-project squehub/squehub my-app &lt;span class="s2"&gt;"^2.0"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you try SqueHub, I'd love to hear what you think.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What would you expect from a modern PHP framework in 2026?&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  php #opensource #webdev #framework
&lt;/h1&gt;

</description>
      <category>php</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>framework</category>
    </item>
    <item>
      <title>📢 SqueHub v1.2.1 Released – Middleware, View Engine Boost, and Smarter Templates</title>
      <dc:creator>Valentine Kalu</dc:creator>
      <pubDate>Tue, 05 Aug 2025 07:28:18 +0000</pubDate>
      <link>https://dev.to/squehub/squehub-v121-released-middleware-view-engine-boost-and-smarter-templates-31jl</link>
      <guid>https://dev.to/squehub/squehub-v121-released-middleware-view-engine-boost-and-smarter-templates-31jl</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%2F026y5kcixtyllwmpt000.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%2F026y5kcixtyllwmpt000.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
We just shipped SqueHub v1.2.1 — and it’s packed with clean enhancements to help devs build faster, more modular PHP apps.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔧 What’s New?
&lt;/h2&gt;

&lt;p&gt;**✅ Middleware Support&lt;br&gt;
**Add pre/post request logic with clean route-level middleware.&lt;/p&gt;

&lt;p&gt;**✅ Improved Layout Rendering&lt;br&gt;
**The view engine has been refined for more efficient layout inheritance and section handling.&lt;/p&gt;

&lt;p&gt;**✅ Optional Variable Passing for @extends and &lt;a class="mentioned-user" href="https://dev.to/include"&gt;@include&lt;/a&gt;&lt;br&gt;
**You can now:&lt;/p&gt;

&lt;p&gt;Auto-pass view variables seamlessly&lt;/p&gt;

&lt;p&gt;OR manually override variables when needed&lt;br&gt;
This gives you more power and flexibility when composing templates.&lt;/p&gt;

&lt;p&gt;💡 Why It Matters&lt;br&gt;
SqueHub is designed to give you:&lt;/p&gt;

&lt;p&gt;✨ Blade-style syntax without the Laravel bulk&lt;/p&gt;

&lt;p&gt;🚀 Faster rendering with less memory usage&lt;/p&gt;

&lt;p&gt;🔗 Full control of the stack&lt;/p&gt;

&lt;p&gt;If you're tired of bloated PHP frameworks, give SqueHub a spin.&lt;/p&gt;

&lt;p&gt;👉 View on GitHub&lt;br&gt;
💬 Feedback, stars, and contributions welcome!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>devchallenge</category>
      <category>php</category>
    </item>
    <item>
      <title>👋 What is SqueHub?</title>
      <dc:creator>Valentine Kalu</dc:creator>
      <pubDate>Thu, 31 Jul 2025 16:53:42 +0000</pubDate>
      <link>https://dev.to/squehub/what-is-squehub-100k</link>
      <guid>https://dev.to/squehub/what-is-squehub-100k</guid>
      <description>&lt;p&gt;SqueHub is a modern PHP framework designed to help developers build scalable, secure, and elegant web applications with minimal overhead. Inspired by Laravel but built to be lightweight and flexible, SqueHub is perfect for those who want full control over their stack without sacrificing developer experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔥 Key Features
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;🧠 Blade-like templating engine&lt;br&gt;
*&lt;em&gt;Includes *&lt;/em&gt;&lt;code&gt;@include&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;@section&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;@yield&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;@extends&lt;/code&gt;&lt;/strong&gt;, and more.&lt;/p&gt;

&lt;p&gt;**🧩 Simple routing system&lt;br&gt;
**Define routes with clean closures or controller actions.&lt;/p&gt;

&lt;p&gt;**🔒 CSRF protection out of the box&lt;br&gt;
**Built-in helpers for secure forms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📦 Composer-based packages&lt;br&gt;
**Extend your app with optional modules like **squehub/authenticator&lt;/strong&gt;, &lt;strong&gt;squehub/dataAnalyst&lt;/strong&gt;, and more.&lt;/p&gt;

&lt;p&gt;**🔧 MVC architecture&lt;br&gt;
**Familiar folder structure, built for clarity and scale.&lt;/p&gt;

&lt;p&gt;**⚡ Fast performance&lt;br&gt;
**No unnecessary bloat. Just you and the tools you need.&lt;/p&gt;

&lt;p&gt;**📈 Recent Improvements (v1.2.0)&lt;br&gt;
**Dynamic view section parsing with support for layouts and inheritance&lt;/p&gt;

&lt;p&gt;Blade-style control structures: &lt;a class="mentioned-user" href="https://dev.to/if"&gt;@if&lt;/a&gt;, &lt;a class="mentioned-user" href="https://dev.to/foreach"&gt;@foreach&lt;/a&gt;, &lt;a class="mentioned-user" href="https://dev.to/else"&gt;@else&lt;/a&gt;, @endif, etc.&lt;/p&gt;

&lt;p&gt;SEO meta tags, sitemap generator, and robots.txt support&lt;/p&gt;

&lt;p&gt;More flexible URL routing with middleware support&lt;/p&gt;

&lt;p&gt;Custom .squehub.php view extension handling&lt;/p&gt;

&lt;p&gt;View caching system (via storage/cache/)&lt;/p&gt;

&lt;p&gt;🌍 Who Is It For?&lt;br&gt;
Indie developers building fast MVPs&lt;/p&gt;

&lt;p&gt;Backend devs who prefer PHP and control&lt;/p&gt;

&lt;p&gt;Educators and learners seeking clarity without bloat&lt;/p&gt;

&lt;p&gt;Teams who want customizable foundations&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;📌 Get Started&lt;br&gt;
*&lt;/em&gt;🚧 Official site: &lt;a href="https://www.squehub.com" rel="noopener noreferrer"&gt;https://www.squehub.com&lt;/a&gt;&lt;br&gt;
📦 GitHub &lt;a href="https://www.github.com/squehub" rel="noopener noreferrer"&gt;https://www.github.com/squehub&lt;/a&gt;&lt;br&gt;
🐘 PHP 8.2+ required&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🙌 Join the Community&lt;br&gt;
**&lt;/strong&gt;SqueHub **is open-source and actively evolving. We’re looking for early adopters, contributors, and PHP enthusiasts to help shape the future of the framework.&lt;/p&gt;

&lt;p&gt;👉 Follow this org for updates&lt;br&gt;
💬 Drop questions, feedback, or ideas in the comments&lt;br&gt;
🤝 Interested in contributing? Let’s connect!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>php</category>
      <category>beginners</category>
    </item>
    <item>
      <title>🚀 Introducing SqueHub — The PHP Framework for Modern Web Developers</title>
      <dc:creator>Valentine Kalu</dc:creator>
      <pubDate>Mon, 28 Jul 2025 19:46:59 +0000</pubDate>
      <link>https://dev.to/squehub/introducing-squehub-the-php-framework-for-modern-web-developers-12af</link>
      <guid>https://dev.to/squehub/introducing-squehub-the-php-framework-for-modern-web-developers-12af</guid>
      <description>&lt;p&gt;Welcome to the very first official post from the Squehub team!&lt;/p&gt;

&lt;p&gt;Squehub is a modern, lightweight PHP framework designed to help developers build clean, fast, and modular web applications with ease. If you love the flexibility of Laravel but crave a leaner, more developer-focused experience — you’ll feel right at home here.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ Why Squehub?
&lt;/h2&gt;

&lt;p&gt;As developers, we often face a trade-off between simplicity and power. Squehub was created to eliminate that compromise. It’s built from the ground up to provide:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⚡ Fast routing&lt;/li&gt;
&lt;li&gt;🧱 Modular architecture&lt;/li&gt;
&lt;li&gt;🛠️ Blade-style templating&lt;/li&gt;
&lt;li&gt;💾 Built-in ORM using PDO&lt;/li&gt;
&lt;li&gt;📦 Full Composer support&lt;/li&gt;
&lt;li&gt;🧰 Middleware-ready pipeline&lt;/li&gt;
&lt;li&gt;💡 Clean, developer-first design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;**Squehub **isn’t trying to replace big frameworks — it’s here for developers who want more control, less overhead, and a joyfully modern dev experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧑‍💻 Built by Developers, for Developers
&lt;/h2&gt;

&lt;p&gt;**Squehub **was created by Valentine Kalu a.k.a @valentine_stack, with a mission to build tools that empower developers to move faster and smarter — not harder.&lt;/p&gt;

&lt;p&gt;We believe frameworks should be understood, not just used.&lt;/p&gt;

&lt;p&gt;🔗 What’s Live Right Now&lt;br&gt;
🌐 GitHub Organization: github.com/squehub&lt;/p&gt;

&lt;p&gt;💻 Framework Repo: squehub/squehub&lt;/p&gt;

&lt;p&gt;📦&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Composer Install:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;composer require squehub/squehub&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
squehub/docs — Developer documentation&lt;/p&gt;

&lt;p&gt;squehub/docs/cli — Command-line tooling&lt;/p&gt;

&lt;p&gt;🧠 Get Involved&lt;br&gt;
We're open-source and community-first. You can:&lt;/p&gt;

&lt;p&gt;⭐ Star the framework on GitHub&lt;/p&gt;

&lt;p&gt;🐛 Report issues or suggest features&lt;/p&gt;

&lt;p&gt;📣 Share feedback on what you’d love to see&lt;/p&gt;

&lt;p&gt;🤝 Contribute code, docs, or packages&lt;/p&gt;

&lt;p&gt;If you’re passionate about PHP, clean code, and open source — you’re already one of us.&lt;/p&gt;

&lt;p&gt;💬 Let's Build the Future of Fast PHP Together&lt;br&gt;
This is just the beginning. Squehub is growing, evolving, and welcoming anyone who wants to be part of something purposeful and dev-centric.&lt;/p&gt;

&lt;p&gt;Thank you for joining us at the start of this journey. Let’s build the web better — one line of clean, modular PHP at a time.&lt;/p&gt;

&lt;p&gt;— The Squehub Team&lt;br&gt;
@squehub • &lt;a class="mentioned-user" href="https://dev.to/valentinekalu"&gt;@valentinekalu&lt;/a&gt; &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>php</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
