Skip to content

kirasiris/kiraframework

Repository files navigation

Welcome to Kira

Kira - The lightest PHP Framework to Build Amazing Applications

This is a beginner's PHP Framework project made purely from scratch!.

Getting Started

Installation

You will need to set your document root to the public directory. Here are some instructions for setting the document root for XAMPP:

XAMPP If you are using XAMPP, you can set the document root in the httpd.conf file. Here is an example:

DocumentRoot "C:/xampp/htdocs/kira/public"
<Directory "C:/xampp/htdocs/kira/public">
</Directory>

SET YOUR DB INFORMATION Access the .env file within the root folder (you might need to create it), in there you will find all the variables that you can customize according to your liking. Otherwise simply copy and paste the following variables.

DB_HOST=""
DB_PORT=""
DB_NAME=""
DB_USERNAME=""
DB_PASSWORD=""

FIRST STEP

app/*** contains all the models, views and controllers (this is what you work with as web developer).
kira/*** contains all the framework files (this is what you work with if you want to create/modify this framework).
public/*** Don't touch the index.php file, that's like the entry point where everything gathers together to make it work!. You ONLY touch the css and javascript folders!. Ignore the `.htaccess`.
resources/*** Contains the entry point for a SQL database

The rest of the files such as the routes.php in the root folder controls what is visible in the browser. This could be moved within the app folder, however, I wanted to keep it simple and easy to reach!. The helpers file, include some of the functions required to make it work, not as important but help a lot.

Documentation

Visit https://kevinurielfonseca.me/kiraframework/docs to view the full documentation.

Community

The Kira community can be found on GitHub Discussions where you can ask questions, voice ideas, and share your projects with other people.

To chat with other community members you can join the Kira Discord server.

Do note that our Code of Conduct applies to all Kira community channels. Users are highly encouraged to read and adhere to them to avoid repercussions.

Contributing

Contributions to Kira are welcome and highly appreciated. However, before you jump right into it, we would like you to review our Contribution Guidelines to make sure you have a smooth experience contributing to Kira.

Good First Issues:

We have a list of good first issues that contain bugs that have a relatively limited scope. This is a great place for newcomers and beginners alike to get started, gain experience, and get familiar with our contribution process.

Kira Author

Kira Authors

A list of the original co-authors of Kira that helped bring this amazing website to life!


Security

If you believe you have found a security vulnerability in Kira, I encourage you to responsibly disclose this and NOT open a public issue.

I will investigate all legitimate reports. and do my best to quickly fix the problem.

Email [email protected] to disclose any security vulnerabilities.

Alternatively, you can visit this link to know more about Kira security

About

Kira is an easy and lightweight PHP framework!

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages