darkenphp / app
A PHP framework with a twist—think Nuxt.js and Astro had a PHP baby, but without the node_modules drama, npm meltdowns, or yarn tantrums.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- ext-json: *
- darkenphp/framework: dev-main
This package is auto-updated.
Last update: 2024-12-20 13:35:50 UTC
README
A PHP framework with a twist—think Nuxt.js and Astro had a PHP baby, but without the node_modules drama, npm meltdowns, or yarn tantrums. 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.
Creating a New Project
To create a new project, run the following command in your terminal:
composer create-project darkenphp/app folder-name-to-create-app "dev-main"
Local Development
Follow these steps to set up and run the project locally:
- Install Dependencies: Install the necessary dependencies using Composer:
composer install
- Start the Development Server: Launch the development server with the following command:
composer dev
- Access the Application: Once the server is running, open your browser and navigate to:
http://localhost:8009
The development server supports hot reloading, automatically compiling your changes as you modify the source files.
Deploy Your Project App with a Single Click on Vercel
This project is ready to deploy with just one click on Vercel. Vercel will prompt you to clone the repository to your preferred Git provider and will automatically deploy the project. Once deployed, simply commit your changes and push them to your Git provider to update the deployment seamlessly. It's that easy!