linna / framework
Simple and elegant tools for build web application.
Installs: 1 815
Dependents: 3
Suggesters: 0
Security: 0
Stars: 13
Watchers: 7
Forks: 4
Open Issues: 1
Requires
- php: >=8
- linna/typed-array: >=3.0
- psr/container: ^2.0
- psr/simple-cache: ^3.0
Requires (Dev)
- infection/infection: >=0.26
- linna/auth-mapper-mysql: dev-master
- linna/db-dumps: dev-master
- mongodb/mongodb: ^1.5
- phpstan/phpstan: >=1.6
- phpunit/phpunit: >=9.0
- dev-master
- v0.27.0
- v0.26.0
- v0.25.0
- v0.24.0
- v0.23.1
- v0.23.0
- v0.22.0
- v0.21.0
- v0.20.2
- v0.20.1
- v0.20.0
- v0.19.0
- v0.18.0
- v0.17.0
- v0.16.0
- v0.15.0
- v0.14.0
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.1
- v0.9.0
- v0.8.1
- v0.8.0
- v0.7.1
- v0.7.0
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-b0.28.0
- dev-data-mapper
- dev-b0.27.0
- dev-b0.26.0
- dev-b0.25.0
- dev-b0.24.0
- dev-b0.23.0
This package is auto-updated.
Last update: 2024-12-13 13:12:11 UTC
README
NOTE: Code porting to PHP 8.1 ongoing.
About this framework
Started as a project for learning the modern PHP, it has become a set of simple and elegant tools for creating web applications.
Quality
The development of Framework is done trying to get PHP best pratices always in mind.
If you wish deepen PHP best pratices you can start from phptherightway
All code is:
- Tested with phpunit and infection
- Analyzed with phpstan and phan
- Commented, ready for phpDocumentor
- Written applying the five SOLID principles
Production environment
At moment, code, isn't utilized in production environment, Hope in future.
Require
- PHP >= 8.1
- PDO extension (optional)
- Memcached extension (optional)
- Mongodb extension (optional)
- Redis extension (optional)
Installation
With composer:
composer require linna/framework
Features
- Model view controller
- Session management
- Login and role-based access control
- Rest router
- Container and dependency injections
- Wrappers for data base
- Implementation for PSR-4 Autoloader, PSR-11 Container and PSR-16 Simple Cache
Documentation
For more details please see the user guide (soon) or the api (incomplete) and read licence
Contributing
Please see CONTRIBUTING.md.
Task List for the next version
High Priority
- [IN PROGRESS] Reduce the technical debt
- [IN PROGRESS] Complete the PHP 8.1 porting
- Complete the updating and the review of the code comments
- [IN PROGRESS] Create documentation for the site, api and articles about how to do things
- Unify database session handlers
- [IN PROGRESS] Update tests and do a deep code review for quality and security
- Check the name of arguments in methods where there is the implementation of an interface
- Data mapper update and Authorization RBAC refactor
Less High Priority
- Add support for Redis cache, for general cache and sessions
- Encryption for non standard session storage (redis, memcached, databases)
- Router with PSR-7 support
- More about Router