Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

KSLaboratories/KerogsPHP-Framework

Repository files navigation

logo

KerogsPHP Framework

Simplifying Web Development with Efficiency and Flexibility

Presentation

KerogsPHP Framework is an easy-to-use PHP framework for websites. Its architecture is simple to understand yet effective. It also provides a good basis for all kinds of projects, especially webapps. It allows you to be autonomous and free in your choices, without being heavy or cumbersome. It also brings with it a certain notion of basic security.

Features

  • PHP preconfiguration
  • SEO preconfiguration
  • Pre-configured file tree
  • Support TypeScript
  • Dependabot preconfiguration
  • docker preconfigured
  • htaccess preconfigured

Installation

  1. Clone the repository

requirements

You'll need NodeJS and Composer installed.

Command

git clone https://github.com/KSInfinite/KerogsPHP-Framework.git
  1. Go in the directory
cd KerogsPHP-framework
  1. Install composer package
composer install
  1. Go in the public directory
cd ./public
  1. Install npm package
npm install

Docker build && run

docker compose up --build

Tips for use

Use TypeScript

Use this simple command to observe changes made in the file and automatically convert it to JavaScript

npx tsc --watch

config.yml

example config.yml

.env file

When you log on to the site for the first time, an .env file will be created automatically.

It will contain the database connection information (to be modified as needed), as well as a randomly generated encryption key for later encryption if required. This value can be modified. If you wish, you can modify the .env file at will. Note that this file will be created automatically each time it is deleted or does not exist.

You can disable automatic generation in the config.yml file. example :

CRYPT_KEY=7927400a-cf78-4977-9a66-36de48d47e09
DB_SERVER=localhost
DB_USERNAME=root
DB_PASSWORD=root
DB_DBNAME=database

Package

NPM

Name Description
typescript for Typescript only

Composer

Name Description required
erusev/parsedown markdown to HTML converter no
ramsey/uuid UUID generator no
symfony/yaml YAML interpreter yes
vlucas/phpdotenv quickly retrieves values from the .env'' file and automatically places them in the $_ENV'' variable. yes

About

A framework for websites.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •