Skip to content
@darkenphp

Darken PHP

 ____             _              
|  _ \  __ _ _ __| | _____ _ __  
| | | |/ _` | '__| |/ / _ \ '_ \ 
| |_| | (_| | |  |   <  __/ | | |
|____/ \__,_|_|  |_|\_\___|_| |_|

A PHP framework with a twist—think Nuxt.js and Astro had a PHP baby, but without the node_modules drama, npm meltdowns. Composer? We’re cool with that; it’s the classy uncle we all respect. We’ve got components with slots (because who doesn’t love a good slot?), and every method, property, and class is IDE auto-completion-friendly—no guessing games here!

Auto-magic? Nope, we’re not wizards. Darken needs to compile while you work your magic or at least once before you hit deploy. Oh, and when you create a new project, you won’t be greeted by a junk drawer of files and folders—just the bare essentials, like a tidy minimalist's dream.

<?php
$page = new class {

    #[\Darken\Attributes\RouteParam]
    public string $name;

    public function getGreeting(): string
    {
        return 'Hello, ' . ucfirst($this->name) . '!';
    }
};
?>
<h1><?= $page->getGreeting(); ?></h1>

Pinned Loading

  1. framework framework Public

    Darken PHP Framework

    PHP 1

  2. app app Public template

    PHP 1

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…