izniburak / nur
A simple framework for PHP
Installs: 195
Dependents: 0
Suggesters: 0
Security: 0
Stars: 64
Watchers: 7
Forks: 7
Open Issues: 3
Type:project
Requires
- php: ^8.1
- izniburak/nur-core: ^4.0
Requires (Dev)
- doctrine/dbal: ^3.5.1
- fakerphp/faker: ^1.21
- filp/whoops: ^2.15
This package is auto-updated.
Last update: 2024-12-06 18:33:31 UTC
README
_ __ _ _ _ __
| '_ \| | | | '__|
| | | | |_| | |
|_| |_|\__,_|_|
nur - simple framework for PHP
Nur Framework has been created for just fun and adapted by using some most popular parts of the popular PHP Frameworks like Laravel and Symfony. It has a simple but powerful infrastructure. It contains a lot of component in order to prepare web applications. So, It can be a preference for your small (maybe medium) projects. If you say "I'll make a bigger project.", I suggest you use a full-stack framework. :) e.g: Laravel, Symfony...
features
- Model - View - Controller
- Easy command line application support. (NUR Cli App)
- Routing component. (PHP-Router)
- Symfony Request and Response components. (Symfony HttpFoundation)
- PDOx Query Builder. (PDOx)
- Authentication component. (with JWT and Basic Auth)
- Some Laravel 10.x Packages supports.
- Eloquent ORM support. (Laravel Eloquent ORM)
- Laravel Query Builder support. (Laravel Query Builder)
- Blade Template Engine support. (Laravel Blade)
- Laravel Localization Support (with Translate) Laravel Localization
- Laravel Eloquent Migration System support with PHPMig. (Laravel Migration - PHPMig)
- Laravel Cache support. (currently just File, Array and Database drivers.) (Laravel Cache)
- Laravel Hash and Encrypt support. (Laravel Hashing)
- Collections support. (Laravel Collections)
- Useful Array and String helpers. (Arr, Str and more...) (Laravel Helpers)
- Mail Component. (PHPMailer)
- Events/Listeners
- Basic Logger
- Request Validation
- Html/Form Builder
- and more...
nur core
If you want to examine Nur's core files, you can follow this link:
server requirements
- PHP >= ^8.1
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- Fileinfo PHP Extension
- BCMath PHP Extension
install
create project via composer
(app
is application folder name):
$ composer create-project izniburak/nur your-app
$ cd your-app
$ php nur serve
or run the following command directly.
$ git clone https://github.com/izniburak/nur.git
$ cd nur
$ composer install
$ php nur serve
Okay, you can see your application on the browser. (127.0.0.1:8000)
docs
documentation page: nur docs (coming soon...)
todo
- Write documentation
- Write test
- Write example project
support
contributing
- fork it Nur Framework or Nur Framework Core (for core changes)
- create your feature branch (git checkout -b my-new-feature)
- commit your changes (git commit -am 'Add some feature')
- push to the branch (git push origin my-new-feature)
- create a new Pull Request
contributors
- izniburak izni burak demirtaş - creator, maintainer