-
Notifications
You must be signed in to change notification settings - Fork 0
Install
TsSaltan edited this page May 7, 2023
·
3 revisions
{
"minimum-stability": "dev",
"repositories": [
{
"type":"git",
"url":"https://github.com/TsSaltan/its-php"
}
],
"require": {
"php": ">=7.1",
"tssaltan/its-php": "dev-dev"
}
}composer update
AddDefaultCharset UTF-8
<FilesMatch "(.json)$">
Require all denied
</FilesMatch>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
include "./vendor/autoload.php"; // include composer autoloader
itsFrame::init([
'root' => __DIR__, // application root dir (current dir)
'plugins' => __DIR__ . DS . 'app' // directory for plugins
])
->addPlugin('index')
->start();# Ignore vendors
/vendor/*
# Ignore editors
/.idea/*
/.phpintel/*