sura / sura
Sura
1.0.0
2023-10-22 08:19 UTC
Requires
- php: ^8.1
- ext-curl: *
- ext-iconv: *
- ext-pdo: *
- ext-zlib: *
- intervention/image: 3.0.*@beta
- james-heinrich/getid3: ^2.0-dev
- sura/database: ^0.3
- sura/framework: ^0.3.0
- sura/view: ^2.1
Requires (Dev)
- fakerphp/faker: ^1.23
- php-coveralls/php-coveralls: ^2.5
- phpspec/prophecy: ^1.17
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.4
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
README
Installation
It's recommended that you use Composer to install Sura.
$ composer create-project suralabs/sura:^0.0.1 MYPROJECT --prefer-dist
Copy config files
$ cp system/data/config.php.example system/data/config.php
$ cp system/data/db_config.php.example system/data/db_config.php
The database configuration is located in system/data/db_config.php
To create a migration, use the -migrate
$ php sura -migrate
To create a user admin, use the -make:add-user
$ php sura -make:add-user Ivan Petrov petrov@example.com password
Server Requirements
Sura has a few system requirements.
However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
- PHP ^8.2
- ICONV PHP Extension
- GD PHP extension
- MySQLI PHP Extension
- Zlib PHP Extension
- Curl PHP Extension
- PDO PHP Extension
License
This software is distributed as open source with the MIT license.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!