Download the PHP package trip/app without Composer
On this page you can find all versions of the php package trip/app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package app
TRIP PHP Framework
A lightweight PHP framework for building modern web applications with a clean MVC architecture, dependency injection, attribute based routing, database abstraction, validation, sessions, views, and security utilities.
TRIP is a lightweight PHP framework designed to provide the core tools needed to build structured web applications without unnecessary complexity.
The framework follows a modular architecture with separate components for HTTP handling, routing, dependency injection, database access, security, sessions, storage, views, configuration, logging, and exceptions.
Features
Core
- Lightweight application architecture
- PSR-4 autoloading
- Environment configuration with
vlucas/phpdotenv - Dependency injection container
- HTTP request and response handling
- Exception handling
- Application configuration
- Logging
Routing
- HTTP routing
- Attribute-based route definitions
- Route parameters
- HTTP method matching
- Controller-based routing
Database
- MySQL database connection
- Database connection configuration
- Database models
- Query-oriented model functionality
- Schema support
- Database migrations
- Database seeders
Security
TRIP provides built-in security utilities including:
- CSRF protection
- Password hashing
- Encryption
- JWT handling
- Input validation
- API key middleware
- Authentication middleware
- Security headers
- CORS
- Rate limiting
Web Application
- Controllers
- Services
- Models
- Middleware
- Sessions
- File storage
- File uploads
- PHP-based views
- Error pages
Testing
The project uses PHPUnit for automated testing.
Requirements
TRIP requires:
- PHP 8.4 or newer
- Composer
- MySQL/MariaDB when using database features
The framework currently declares PHP ^8.4 as its runtime requirement.
Installation
Enter the project directory:
Install Composer dependencies:
Create your environment file:
Then configure your environment variables.
Configuration
TRIP uses environment variables for application and database configuration.
A typical configuration may include:
Run this two command in your Terminal after you copy the .env.example It is require at boot time.
Refer to .env.example in the repository for the available configuration options.
Contributing
Contributions are welcome.
Before submitting a pull request:
- Fork the repository.
- Create a feature branch.
- Make your changes.
- Add or update tests when appropriate.
- Run the test suite.
- Commit your changes.
- Open a pull request.
For major architectural changes, consider opening an issue first.
License
TRIP PHP Framework is licensed under the MIT License.
See the LICENSE file for the complete license text.
Author
Resty M. Gonzales
TRIP PHP Framework is an independent PHP framework project focused on building a lightweight and modular foundation for modern PHP web applications.
TRIP PHP Framework
Lightweight PHP. Clean Architecture. Developer Control.