├── app
├── Filters
│ └── .gitkeep
├── Helpers
│ └── .gitkeep
├── Language
│ ├── .gitkeep
│ └── en
│ │ └── Validation.php
├── Libraries
│ └── .gitkeep
├── Models
│ ├── .gitkeep
│ ├── User.php
│ └── Member.php
├── ThirdParty
│ └── .gitkeep
├── Database
│ ├── Seeds
│ │ ├── .gitkeep
│ │ ├── User.php
│ │ └── Member.php
│ └── Migrations
│ │ ├── .gitkeep
│ │ ├── 2021-02-10-064556_Member.php
│ │ └── 2021-02-10-064002_User.php
├── .htaccess
├── Views
│ └── errors
│ │ ├── cli
│ │ ├── error_404.php
│ │ └── production.php
│ │ └── html
│ │ ├── production.php
│ │ └── error_404.php
├── index.html
├── Config
│ ├── ForeignCharacters.php
│ ├── Images.php
│ ├── Honeypot.php
│ ├── Boot
│ │ ├── production.php
│ │ ├── testing.php
│ │ └── development.php
│ ├── Services.php
│ ├── Validation.php
│ ├── Pager.php
│ ├── Filters.php
│ ├── View.php
│ ├── Exceptions.php
│ ├── Modules.php
│ ├── Events.php
│ ├── Kint.php
│ ├── Migrations.php
│ ├── Generators.php
│ └── Routes.php
├── Controllers
│ ├── Home.php
│ └── BaseController.php
└── Common.php
├── .github
└── workflows
│ └── dependabot.yml
├── public
├── robots.txt
├── favicon.ico
├── index.php
└── .htaccess
├── system
├── Validation
│ ├── Views
│ │ ├── single.php
│ │ └── list.php
│ └── Exceptions
│ │ └── ValidationException.php
├── .htaccess
├── ThirdParty
│ ├── PSR
│ │ └── Log
│ │ │ ├── InvalidArgumentException.php
│ │ │ ├── LoggerAwareInterface.php
│ │ │ ├── LogLevel.php
│ │ │ ├── LoggerAwareTrait.php
│ │ │ └── NullLogger.php
│ ├── Kint
│ │ ├── resources
│ │ │ └── compiled
│ │ │ │ ├── plain.css
│ │ │ │ ├── plain.js
│ │ │ │ ├── shared.js
│ │ │ │ └── microtime.js
│ │ ├── Renderer
│ │ │ ├── Rich
│ │ │ │ ├── PluginInterface.php
│ │ │ │ ├── ObjectPluginInterface.php
│ │ │ │ ├── TabPluginInterface.php
│ │ │ │ ├── BlacklistPlugin.php
│ │ │ │ ├── RecursionPlugin.php
│ │ │ │ ├── DepthLimitPlugin.php
│ │ │ │ └── TimestampPlugin.php
│ │ │ └── Text
│ │ │ │ ├── Plugin.php
│ │ │ │ ├── BlacklistPlugin.php
│ │ │ │ ├── DepthLimitPlugin.php
│ │ │ │ └── RecursionPlugin.php
│ │ ├── Object
│ │ │ ├── TraceObject.php
│ │ │ ├── ResourceObject.php
│ │ │ └── StreamObject.php
│ │ └── Parser
│ │ │ └── BinaryPlugin.php
│ └── Escaper
│ │ └── Exception
│ │ ├── ExceptionInterface.php
│ │ ├── RuntimeException.php
│ │ └── InvalidArgumentException.php
├── Commands
│ ├── Generators
│ │ ├── Views
│ │ │ ├── config.tpl.php
│ │ │ ├── validation.tpl.php
│ │ │ ├── seeder.tpl.php
│ │ │ ├── entity.tpl.php
│ │ │ ├── migration.tpl.php
│ │ │ ├── filter.tpl.php
│ │ │ ├── model.tpl.php
│ │ │ └── command.tpl.php
│ │ ├── SeederGenerator.php
│ │ ├── EntityGenerator.php
│ │ └── FilterGenerator.php
│ ├── Server
│ │ └── rewrite.php
│ └── Housekeeping
│ │ └── ClearDebugbar.php
├── index.html
├── Debug
│ └── Toolbar
│ │ ├── Views
│ │ ├── _files.tpl
│ │ ├── _database.tpl
│ │ ├── _events.tpl
│ │ ├── _logs.tpl
│ │ ├── _history.tpl
│ │ ├── _config.tpl
│ │ └── _routes.tpl
│ │ └── Collectors
│ │ ├── Config.php
│ │ └── Timers.php
├── Language
│ └── en
│ │ ├── Log.php
│ │ ├── RESTful.php
│ │ ├── Files.php
│ │ ├── Filters.php
│ │ ├── Security.php
│ │ ├── Fabricator.php
│ │ ├── Router.php
│ │ ├── Format.php
│ │ ├── Cache.php
│ │ ├── Number.php
│ │ ├── Cast.php
│ │ ├── Encryption.php
│ │ ├── View.php
│ │ ├── Pager.php
│ │ ├── Core.php
│ │ ├── Session.php
│ │ ├── Time.php
│ │ ├── CLI.php
│ │ └── Database.php
├── Test
│ ├── Mock
│ │ ├── MockQuery.php
│ │ ├── MockSecurityConfig.php
│ │ ├── MockCodeIgniter.php
│ │ ├── MockSecurity.php
│ │ ├── MockAutoload.php
│ │ ├── MockBuilder.php
│ │ ├── MockIncomingRequest.php
│ │ ├── MockResourceController.php
│ │ ├── MockTable.php
│ │ ├── MockResourcePresenter.php
│ │ ├── MockEvents.php
│ │ ├── MockResponse.php
│ │ ├── MockCommon.php
│ │ ├── MockEmail.php
│ │ ├── MockFileLogger.php
│ │ ├── MockServices.php
│ │ ├── MockCLIConfig.php
│ │ ├── MockAppConfig.php
│ │ ├── MockCURLRequest.php
│ │ └── MockLanguage.php
│ ├── Filters
│ │ └── CITestStreamFilter.php
│ └── FeatureTestCase.php
├── Exceptions
│ ├── EmergencyError.php
│ ├── AlertError.php
│ ├── CriticalError.php
│ ├── ExceptionInterface.php
│ ├── ConfigException.php
│ ├── ModelException.php
│ ├── DebugTraceableTrait.php
│ ├── CastException.php
│ ├── PageNotFoundException.php
│ ├── DownloadException.php
│ └── FrameworkException.php
├── Database
│ ├── Exceptions
│ │ ├── DatabaseException.php
│ │ └── ExceptionInterface.php
│ ├── SQLite3
│ │ └── Utils.php
│ ├── SQLSRV
│ │ └── Utils.php
│ ├── MySQLi
│ │ ├── Utils.php
│ │ └── Builder.php
│ ├── Postgre
│ │ └── Utils.php
│ ├── ModelFactory.php
│ └── Migration.php
├── Router
│ └── Exceptions
│ │ ├── RedirectException.php
│ │ └── RouterException.php
├── Cache
│ ├── Exceptions
│ │ ├── ExceptionInterface.php
│ │ └── CacheException.php
│ └── Handlers
│ │ └── BaseHandler.php
├── Format
│ ├── FormatterInterface.php
│ ├── JSONFormatter.php
│ └── Format.php
├── Log
│ ├── Exceptions
│ │ └── LogException.php
│ └── Handlers
│ │ └── HandlerInterface.php
├── Pager
│ ├── Views
│ │ ├── default_simple.php
│ │ ├── default_head.php
│ │ └── default_full.php
│ └── Exceptions
│ │ └── PagerException.php
├── Files
│ └── Exceptions
│ │ ├── FileNotFoundException.php
│ │ └── FileException.php
├── Security
│ └── Exceptions
│ │ └── SecurityException.php
├── CLI
│ ├── Exceptions
│ │ └── CLIException.php
│ └── Console.php
├── Honeypot
│ └── Exceptions
│ │ └── HoneypotException.php
├── Helpers
│ ├── test_helper.php
│ ├── xml_helper.php
│ └── security_helper.php
├── Modules
│ └── Modules.php
├── Config
│ ├── Factory.php
│ ├── Config.php
│ └── Routes.php
├── Filters
│ ├── Exceptions
│ │ └── FilterException.php
│ ├── Honeypot.php
│ ├── DebugToolbar.php
│ └── FilterInterface.php
├── Encryption
│ └── EncrypterInterface.php
├── Session
│ └── Exceptions
│ │ └── SessionException.php
├── View
│ └── Exceptions
│ │ └── ViewException.php
├── Throttle
│ └── ThrottlerInterface.php
└── Images
│ └── Exceptions
│ └── ImageException.php
├── writable
├── .htaccess
├── cache
│ └── index.html
├── logs
│ └── index.html
├── session
│ └── index.html
└── uploads
│ └── index.html
├── .gitignore
├── README.md
├── LICENSE
└── composer.json
/app/Filters/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Helpers/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Language/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Libraries/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Models/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/ThirdParty/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Database/Seeds/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.github/workflows/dependabot.yml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Database/Migrations/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/asnur/RestFul-API/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/system/Validation/Views/single.php:
--------------------------------------------------------------------------------
1 | = esc($error) ?>
2 |
--------------------------------------------------------------------------------
/system/.htaccess:
--------------------------------------------------------------------------------
1 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/Commands/Generators/Views/config.tpl.php: -------------------------------------------------------------------------------- 1 | <@php 2 | 3 | namespace {namespace}; 4 | 5 | use CodeIgniter\Config\BaseConfig; 6 | 7 | class {class} extends BaseConfig 8 | { 9 | // 10 | } 11 | -------------------------------------------------------------------------------- /system/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/uploads/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/Commands/Generators/Views/validation.tpl.php: -------------------------------------------------------------------------------- 1 | <@php 2 | 3 | namespace {namespace}; 4 | 5 | class {class} 6 | { 7 | // public function custom_rule(): bool 8 | // { 9 | // return true; 10 | // } 11 | } 12 | -------------------------------------------------------------------------------- /app/Config/ForeignCharacters.php: -------------------------------------------------------------------------------- 1 | 2 || Time | 5 |Query String | 6 |
|---|---|
| {duration} | 12 |{! sql !} | 13 |
Nothing was logged. If you were expecting logged items, ensure that LoggerConfig file has the correct threshold set.
3 | { else } 4 || Severity | 8 |Message | 9 |
|---|---|
| {level} | 15 |{msg} | 16 |
We seem to have hit a snag. Please try again later...
20 | 21 || Action | 5 |Datetime | 6 |Status | 7 |Method | 8 |URL | 9 |Content-Type | 10 |Is AJAX? | 11 |
|---|---|---|---|---|---|---|
| 17 | 18 | | 19 |{datetime} | 20 |{status} | 21 |{method} | 22 |{url} | 23 |{contentType} | 24 |{isAJAX} | 25 |
| CodeIgniter Version: | 9 |{ ciVersion } | 10 |
| PHP Version: | 13 |{ phpVersion } | 14 |
| PHP SAPI: | 17 |{ phpSAPI } | 18 |
| Environment: | 21 |{ environment } | 22 |
| Base URL: | 25 |
26 | { if $baseURL == '' }
27 |
28 | The $baseURL should always be set manually to prevent possible URL personification from external parties.
29 |
30 | { else }
31 | { baseURL }
32 | { endif }
33 | |
34 |
| Timezone: | 37 |{ timezone } | 38 |
| Locale: | 41 |{ locale } | 42 |
| Content Security Policy Enabled: | 45 |{ if $cspEnabled } Yes { else } No { endif } | 46 |
| Directory: | 8 |{directory} | 9 |
| Controller: | 12 |{controller} | 13 |
| Method: | 16 |{method} | 17 |
| Params: | 20 |{paramCount} / {truePCount} | 21 |
| {name} | 25 |{value} | 26 |
| Method | 39 |Route | 40 |Handler | 41 |
|---|---|---|
| {method} | 47 |{route} | 48 |{handler} | 49 |
76 | 77 | = esc($message) ?> 78 | 79 | Sorry! Cannot seem to find the page you were looking for. 80 | 81 |
82 |'.$dt->setTimeZone(new DateTimeZone('UTC'))->format('Y-m-d H:i:s T').'';
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/app/Config/Generators.php:
--------------------------------------------------------------------------------
1 |
27 | */
28 | public $views = [
29 | 'make:command' => 'CodeIgniter\Commands\Generators\Views\command.tpl.php',
30 | 'make:controller' => 'CodeIgniter\Commands\Generators\Views\controller.tpl.php',
31 | 'make:entity' => 'CodeIgniter\Commands\Generators\Views\entity.tpl.php',
32 | 'make:filter' => 'CodeIgniter\Commands\Generators\Views\filter.tpl.php',
33 | 'make:migration' => 'CodeIgniter\Commands\Generators\Views\migration.tpl.php',
34 | 'make:model' => 'CodeIgniter\Commands\Generators\Views\model.tpl.php',
35 | 'make:seeder' => 'CodeIgniter\Commands\Generators\Views\seeder.tpl.php',
36 | 'make:validation' => 'CodeIgniter\Commands\Generators\Views\validation.tpl.php',
37 | 'session:migration' => 'CodeIgniter\Commands\Generators\Views\migration.tpl.php',
38 | ];
39 | }
40 |
--------------------------------------------------------------------------------
/system/ThirdParty/Kint/Renderer/Text/BlacklistPlugin.php:
--------------------------------------------------------------------------------
1 | depth) {
37 | $out .= $this->renderer->colorTitle($this->renderer->renderTitle($o)).PHP_EOL;
38 | }
39 |
40 | $out .= $this->renderer->renderHeader($o).' '.$this->renderer->colorValue('BLACKLISTED').PHP_EOL;
41 |
42 | return $out;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/system/ThirdParty/Kint/Renderer/Text/DepthLimitPlugin.php:
--------------------------------------------------------------------------------
1 | depth) {
37 | $out .= $this->renderer->colorTitle($this->renderer->renderTitle($o)).PHP_EOL;
38 | }
39 |
40 | $out .= $this->renderer->renderHeader($o).' '.$this->renderer->colorValue('DEPTH LIMIT').PHP_EOL;
41 |
42 | return $out;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/system/ThirdParty/Kint/Renderer/Text/RecursionPlugin.php:
--------------------------------------------------------------------------------
1 | depth) {
37 | $out .= $this->renderer->colorTitle($this->renderer->renderTitle($o)).PHP_EOL;
38 | }
39 |
40 | $out .= $this->renderer->renderHeader($o).' '.$this->renderer->colorValue('RECURSION').PHP_EOL;
41 |
42 | return $out;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 | # Disable directory browsing
2 | Options All -Indexes
3 |
4 | # ----------------------------------------------------------------------
5 | # Rewrite engine
6 | # ----------------------------------------------------------------------
7 |
8 | # Turning on the rewrite engine is necessary for the following rules and features.
9 | # FollowSymLinks must be enabled for this to work.
10 |