Download the PHP package yabasi/framework without Composer
On this page you can find all versions of the php package yabasi/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yabasi/framework
More information about yabasi/framework
Files in yabasi/framework
Package framework
Short Description Yabasi PHP Framework - A modern, high-performance PHP framework designed for scalability and rapid development
License MIT
Informations about the package framework
Yabasi Framework
Yabasi is a cutting-edge, high-performance PHP framework designed for modern web application development. Built with scalability, flexibility, and developer productivity in mind, Yabasi provides a robust foundation for creating efficient and maintainable web applications.
Our framework stands out with its innovative approach to solving common web development challenges, offering a unique blend of performance optimization, intuitive APIs, and comprehensive features. Yabasi empowers developers to build sophisticated applications with ease, without compromising on speed or code quality.
Features
- Fast Routing: Powerful and flexible route management for efficient request handling.
- Dependency Injection: Robust container for managing class dependencies and performing dependency injection.
- ORM Support: Intuitive Object-Relational Mapping for seamless database operations.
- Twig Integration: Flexible and secure template engine for easy view rendering.
- CLI Support: Built-in console component for creating powerful command-line applications.
- Middleware System: Customizable middleware pipeline for request/response processing.
- Event Dispatcher: Flexible event handling and dispatching system for extending application functionality.
- Caching: Advanced caching mechanisms to optimize application performance.
- Security Features: Built-in security features including CSRF protection and XSS prevention.
- Database Migrations: Version control system for your database schema.
- Validation: Comprehensive data validation system for forms and input processing.
- Logging: Integrated logging system for debugging and monitoring application behavior.
- Model Relationships: Support for complex database relationships including One-to-One, One-to-Many, and Many-to-Many.
- Query Builder: Fluent interface for constructing database queries.
- Database Seeding: Easily populate your database with test data.
- Asset Management: Built-in asset manager for handling CSS and JavaScript files.
- Localization: Multi-language support for creating multilingual applications.
- Configuration Management: Flexible configuration system with environment-specific settings.
- Error Handling: Comprehensive error and exception handling system.
- WebSocket Support: Built-in WebSocket server for real-time communication.
- Service Providers: Modular system for bootstrapping and configuring application services.
- Filesystem Abstraction: Unified API for working with local and cloud file storage systems.
- Form Requests: Dedicated classes for handling form input and validation.
- Database Dump and Restore: Built-in commands for database backup and restoration.
- Model Factories: Generate test data easily with model factories.
- API Development Tools: Built-in support for API development including rate limiting and versioning.
- Session Management: Secure and flexible session handling.
- Database Query Logging: Log and analyze database queries for performance optimization.
- Custom Artisan Commands: Easily create custom CLI commands for your application.
- Eager Loading: Optimize database queries with eager loading of relationships.
- Database Transactions: Support for database transactions to ensure data integrity.
- Request Lifecycle: Well-defined request lifecycle for precise control over application flow.
- Environment Detection: Automatically detect and configure for different environments (development, production, etc.).
- Pagination: Built-in pagination support for large datasets.
- Rate Limiting: Protect your application from abuse with configurable rate limiting.
- Database Connection Pooling: Efficient management of database connections for improved performance.
- Custom Validation Rules: Easily extend the validation system with custom rules.
- Model Events: Hook into model lifecycle events for complex operations.
- Database Schema Builder: Programmatically define and modify database schema.
- Robust HTTP Client: Built-in HTTP client for making external API requests.
- Redis Integration: Built-in support for Redis, allowing for efficient caching, queues, and real-time features.
- Queue System: Robust job queue system for handling time-consuming tasks asynchronously, improving application responsiveness.
- CORS Support: Built-in Cross-Origin Resource Sharing (CORS) middleware for API security.
- Auto-loading: PSR-4 compliant auto-loading for efficient class loading.
- Database Query Caching: Automatic caching of database query results for improved performance.
- Advanced ORM: Intuitive and powerful Object-Relational Mapping system for elegant database interactions.
- Flexible Templating Engine: Feature-rich templating engine with custom extensions for efficient view rendering.
- Application Events: Pre-defined application events for hooking into the framework's lifecycle.
- Dependency Graph: Visualization tools for application's dependency graph.
- Robust Testing Suite: Comprehensive testing utilities for unit, integration, and feature testing.
- Database Connection Abstraction: Support for multiple database systems with a unified interface.
Installation
You can create a new Yabasi Framework project using Composer:
This will create a new Yabasi project in the myproject
directory. The project comes with a pre-configured application structure and all necessary dependencies.
If you want to add Yabasi Framework to an existing project, you can use:
After installation, you'll need to set up your environment configuration and potentially run some initialization commands. Refer to the Configuration section for more details.
Usage
Routing
Define your routes in routes/web.php
:
Controllers
Create a controller in app/Controllers
:
ORM
Interact with your database using the ORM:
Middleware
Create a middleware in app/Middleware
:
CLI Commands
Create a custom CLI command:
Run the command:
Service Providers
Create a service provider in app/Providers
:
Localization
Set up localization files in resources/lang/
:
Use translations in your code:
Validation
Validate input data:
Caching
Use the caching system:
Events
Dispatch and listen for events:
Database Migrations
Create a migration:
Define the migration:
Run migrations:
WebSockets
Set up a WebSocket server:
Start the WebSocket server:
Queue System
Define a job:
Dispatch a job:
Process jobs:
Testing
Run the test suite:
Documentation
For more detailed information, please refer to our official documentation.
Contributing
We welcome contributions to the Yabasi Framework. Please see our CONTRIBUTING.md file for details on how to contribute.
License
The Yabasi Framework is open-sourced software licensed under the MIT license.
All versions of framework with dependencies
ext-pdo Version *
cboden/ratchet Version ^0.4.4
predis/predis Version ^1.1
psr/log Version ^3.0
symfony/console Version ^6.4
twig/twig Version ^3.12