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.
- PHP preconfiguration
- SEO preconfiguration
- Pre-configured file tree
- Support TypeScript
- Dependabot preconfiguration
- docker preconfigured
- htaccess preconfigured
- Clone the repository
You'll need NodeJS and Composer installed.
git clone https://github.com/KSInfinite/KerogsPHP-Framework.git- Go in the directory
cd KerogsPHP-framework- Install composer package
composer install- Go in the public directory
cd ./public- Install npm package
npm installdocker compose up --buildUse this simple command to observe changes made in the file and automatically convert it to JavaScript
npx tsc --watchWhen 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| Name | Description |
|---|---|
| typescript | for Typescript only |
| 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 |
