Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camkem/dep-free-php
E-commerce implementation of dependancy free Micro PHP Framework.
https://github.com/camkem/dep-free-php
Last synced: about 13 hours ago
JSON representation
E-commerce implementation of dependancy free Micro PHP Framework.
- Host: GitHub
- URL: https://github.com/camkem/dep-free-php
- Owner: CamKem
- License: mit
- Created: 2024-05-13T07:53:36.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-01-04T08:59:37.000Z (about 1 month ago)
- Last Synced: 2025-02-09T07:37:40.677Z (4 days ago)
- Language: PHP
- Homepage: https://sw.iterated.tech
- Size: 2.57 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Dep Free PHP
[![License](https://img.shields.io/github/license/CamKem/dep-free-php)](https://github.com/CamKem/dep-free-php/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/CamKem/dep-free-php)](https://github.com/CamKem/dep-free-php/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/CamKem/dep-free-php)](https://github.com/CamKem/dep-free-php/commits/master)## Overview
This project is a dependency-free PHP framework that leverages all the features of PHP to create a fully functional MVC architecture. It encapsulates a wide range of features within its classes, providing a comprehensive solution for web application development.
## Features
- **Authentication**: Secure user authentication mechanisms.
- **Authorization**: Role-based access control (RBAC) for fine-grained permissions.
- **Mailing**: Integration with mailing services for sending emails.
- **Templating**: Efficient templating engine for rendering views.
- **IoC Container**: Inversion of Control container for managing dependencies.
- **DI**: Dependency Injection for better code modularity and testing.
- **Environment Management**: Easy management of environment configurations.
- **Service Providers**: Extendable service providers for adding functionality.
- **Session Handling**: Robust session management.
- **Data Validation**: Comprehensive data validation mechanisms.
- **Exception Handling**: Graceful handling of exceptions.
- **Slugging**: URL-friendly slugs for resources.
- **Query Builder**: Fluent query builder for database interactions.
- **Database Connection**: Easy database connection management.
- **FileSystem**: File system operations and management.
- **HTTP Request/Response Handling**: Handling of inbound and outbound HTTP requests and responses.
- **Data Collections**: Advanced data collection utilities.
- **Caching**: Efficient caching mechanisms.
- **Middleware**: Middleware support for request processing.
- **User Account Control**: Features like cookies (remember me) and password reset tokens.
- **And More**: Additional features to support modern web application development.## Getting Started
To get started with this framework, follow these steps:
1. **Clone the repository**:
```sh
git clone https://github.com/CamKem/dep-free-php.git project_name
```
2. **Create a mysql database**:
```sql
CREATE DATABASE project_name;
```
3. **Use the sql file to create the tables**:
```sh
mysql -u root -p project_name < db/dump.sql
```4. **Copy the environment file**:
```sh
cp .env.example .env
```
5. **Update the environment file**:
Update the `.env` file with your database credentials, mailer settings, and other configurations.
```dotenv
APP_NAME=DepFreePHP
DB_USER=root
DB_PASSWORD=
DB_NAME=you_database_name
MAILER_HOST=smtp.mailtrap.io
MAILER_PORT=2525
MAILER_USERNAME=your_username
MAILER_PASSWORD=your_password
# Other configurations...
```
6. **Star a PHP server to run the application**:
```sh
php -S localhost:8000 -t public
```
7. **Begin development**:
- You can now start using the framework & making changes to the code.
- We appreciate your feedback and contributions.
- Visit `http://localhost:8000` in your browser to see the application running.
- Visit `http://localhost:8000/admin` to access the admin panel.## Documentation
In the future, we will provide detailed documentation on how to use the features of this framework. Stay tuned!
## Contributing
We welcome contributions! Please read our [contributing guidelines](./CONTRIBUTING.md) before submitting a pull request.
## License
This project is licensed under the MIT Licence. See the [LICENCE](./LICENCE) file for more information.