diff --git a/ci4/.gitignore b/.gitignore similarity index 100% rename from ci4/.gitignore rename to .gitignore diff --git a/ci4/LICENSE b/LICENSE similarity index 100% rename from ci4/LICENSE rename to LICENSE diff --git a/ci4/app/.htaccess b/app/.htaccess similarity index 100% rename from ci4/app/.htaccess rename to app/.htaccess diff --git a/ci4/app/Common.php b/app/Common.php similarity index 100% rename from ci4/app/Common.php rename to app/Common.php diff --git a/ci4/app/Config/App.php b/app/Config/App.php similarity index 100% rename from ci4/app/Config/App.php rename to app/Config/App.php diff --git a/ci4/app/Config/Autoload.php b/app/Config/Autoload.php similarity index 100% rename from ci4/app/Config/Autoload.php rename to app/Config/Autoload.php diff --git a/ci4/app/Config/Boot/development.php b/app/Config/Boot/development.php similarity index 100% rename from ci4/app/Config/Boot/development.php rename to app/Config/Boot/development.php diff --git a/ci4/app/Config/Boot/production.php b/app/Config/Boot/production.php similarity index 100% rename from ci4/app/Config/Boot/production.php rename to app/Config/Boot/production.php diff --git a/ci4/app/Config/Boot/testing.php b/app/Config/Boot/testing.php similarity index 100% rename from ci4/app/Config/Boot/testing.php rename to app/Config/Boot/testing.php diff --git a/ci4/app/Config/CURLRequest.php b/app/Config/CURLRequest.php similarity index 100% rename from ci4/app/Config/CURLRequest.php rename to app/Config/CURLRequest.php diff --git a/ci4/app/Config/Cache.php b/app/Config/Cache.php similarity index 100% rename from ci4/app/Config/Cache.php rename to app/Config/Cache.php diff --git a/ci4/app/Config/Constants.php b/app/Config/Constants.php similarity index 100% rename from ci4/app/Config/Constants.php rename to app/Config/Constants.php diff --git a/ci4/app/Config/ContentSecurityPolicy.php b/app/Config/ContentSecurityPolicy.php similarity index 100% rename from ci4/app/Config/ContentSecurityPolicy.php rename to app/Config/ContentSecurityPolicy.php diff --git a/ci4/app/Config/Cookie.php b/app/Config/Cookie.php similarity index 100% rename from ci4/app/Config/Cookie.php rename to app/Config/Cookie.php diff --git a/ci4/app/Config/Cors.php b/app/Config/Cors.php similarity index 100% rename from ci4/app/Config/Cors.php rename to app/Config/Cors.php diff --git a/ci4/app/Config/Database.php b/app/Config/Database.php similarity index 100% rename from ci4/app/Config/Database.php rename to app/Config/Database.php diff --git a/ci4/app/Config/DocTypes.php b/app/Config/DocTypes.php similarity index 100% rename from ci4/app/Config/DocTypes.php rename to app/Config/DocTypes.php diff --git a/ci4/app/Config/Email.php b/app/Config/Email.php similarity index 100% rename from ci4/app/Config/Email.php rename to app/Config/Email.php diff --git a/ci4/app/Config/Encryption.php b/app/Config/Encryption.php similarity index 100% rename from ci4/app/Config/Encryption.php rename to app/Config/Encryption.php diff --git a/ci4/app/Config/Events.php b/app/Config/Events.php similarity index 100% rename from ci4/app/Config/Events.php rename to app/Config/Events.php diff --git a/ci4/app/Config/Exceptions.php b/app/Config/Exceptions.php similarity index 100% rename from ci4/app/Config/Exceptions.php rename to app/Config/Exceptions.php diff --git a/ci4/app/Config/Feature.php b/app/Config/Feature.php similarity index 100% rename from ci4/app/Config/Feature.php rename to app/Config/Feature.php diff --git a/ci4/app/Config/Filters.php b/app/Config/Filters.php similarity index 100% rename from ci4/app/Config/Filters.php rename to app/Config/Filters.php diff --git a/ci4/app/Config/ForeignCharacters.php b/app/Config/ForeignCharacters.php similarity index 100% rename from ci4/app/Config/ForeignCharacters.php rename to app/Config/ForeignCharacters.php diff --git a/ci4/app/Config/Format.php b/app/Config/Format.php similarity index 100% rename from ci4/app/Config/Format.php rename to app/Config/Format.php diff --git a/ci4/app/Config/Generators.php b/app/Config/Generators.php similarity index 100% rename from ci4/app/Config/Generators.php rename to app/Config/Generators.php diff --git a/ci4/app/Config/Honeypot.php b/app/Config/Honeypot.php similarity index 100% rename from ci4/app/Config/Honeypot.php rename to app/Config/Honeypot.php diff --git a/ci4/app/Config/Images.php b/app/Config/Images.php similarity index 100% rename from ci4/app/Config/Images.php rename to app/Config/Images.php diff --git a/ci4/app/Config/Kint.php b/app/Config/Kint.php similarity index 100% rename from ci4/app/Config/Kint.php rename to app/Config/Kint.php diff --git a/ci4/app/Config/Logger.php b/app/Config/Logger.php similarity index 100% rename from ci4/app/Config/Logger.php rename to app/Config/Logger.php diff --git a/ci4/app/Config/Migrations.php b/app/Config/Migrations.php similarity index 100% rename from ci4/app/Config/Migrations.php rename to app/Config/Migrations.php diff --git a/ci4/app/Config/Mimes.php b/app/Config/Mimes.php similarity index 100% rename from ci4/app/Config/Mimes.php rename to app/Config/Mimes.php diff --git a/ci4/app/Config/Modules.php b/app/Config/Modules.php similarity index 100% rename from ci4/app/Config/Modules.php rename to app/Config/Modules.php diff --git a/ci4/app/Config/Optimize.php b/app/Config/Optimize.php similarity index 100% rename from ci4/app/Config/Optimize.php rename to app/Config/Optimize.php diff --git a/ci4/app/Config/Pager.php b/app/Config/Pager.php similarity index 100% rename from ci4/app/Config/Pager.php rename to app/Config/Pager.php diff --git a/ci4/app/Config/Paths.php b/app/Config/Paths.php similarity index 100% rename from ci4/app/Config/Paths.php rename to app/Config/Paths.php diff --git a/ci4/app/Config/Publisher.php b/app/Config/Publisher.php similarity index 100% rename from ci4/app/Config/Publisher.php rename to app/Config/Publisher.php diff --git a/ci4/app/Config/Routes.php b/app/Config/Routes.php similarity index 100% rename from ci4/app/Config/Routes.php rename to app/Config/Routes.php diff --git a/ci4/app/Config/Routing.php b/app/Config/Routing.php similarity index 100% rename from ci4/app/Config/Routing.php rename to app/Config/Routing.php diff --git a/ci4/app/Config/Security.php b/app/Config/Security.php similarity index 100% rename from ci4/app/Config/Security.php rename to app/Config/Security.php diff --git a/ci4/app/Config/Services.php b/app/Config/Services.php similarity index 100% rename from ci4/app/Config/Services.php rename to app/Config/Services.php diff --git a/ci4/app/Config/Session.php b/app/Config/Session.php similarity index 100% rename from ci4/app/Config/Session.php rename to app/Config/Session.php diff --git a/ci4/app/Config/Toolbar.php b/app/Config/Toolbar.php similarity index 100% rename from ci4/app/Config/Toolbar.php rename to app/Config/Toolbar.php diff --git a/ci4/app/Config/UserAgents.php b/app/Config/UserAgents.php similarity index 100% rename from ci4/app/Config/UserAgents.php rename to app/Config/UserAgents.php diff --git a/ci4/app/Config/Validation.php b/app/Config/Validation.php similarity index 100% rename from ci4/app/Config/Validation.php rename to app/Config/Validation.php diff --git a/ci4/app/Config/View.php b/app/Config/View.php similarity index 100% rename from ci4/app/Config/View.php rename to app/Config/View.php diff --git a/ci4/app/Controllers/Auth.php b/app/Controllers/Auth.php similarity index 100% rename from ci4/app/Controllers/Auth.php rename to app/Controllers/Auth.php diff --git a/ci4/app/Controllers/BaseController.php b/app/Controllers/BaseController.php similarity index 100% rename from ci4/app/Controllers/BaseController.php rename to app/Controllers/BaseController.php diff --git a/ci4/app/Controllers/Home.php b/app/Controllers/Home.php similarity index 100% rename from ci4/app/Controllers/Home.php rename to app/Controllers/Home.php diff --git a/ci4/app/Database/Migrations/.gitkeep b/app/Database/Migrations/.gitkeep similarity index 100% rename from ci4/app/Database/Migrations/.gitkeep rename to app/Database/Migrations/.gitkeep diff --git a/ci4/app/Database/Seeds/.gitkeep b/app/Database/Seeds/.gitkeep similarity index 100% rename from ci4/app/Database/Seeds/.gitkeep rename to app/Database/Seeds/.gitkeep diff --git a/ci4/app/Filters/.gitkeep b/app/Filters/.gitkeep similarity index 100% rename from ci4/app/Filters/.gitkeep rename to app/Filters/.gitkeep diff --git a/ci4/app/Helpers/.gitkeep b/app/Helpers/.gitkeep similarity index 100% rename from ci4/app/Helpers/.gitkeep rename to app/Helpers/.gitkeep diff --git a/ci4/app/Language/.gitkeep b/app/Language/.gitkeep similarity index 100% rename from ci4/app/Language/.gitkeep rename to app/Language/.gitkeep diff --git a/ci4/app/Language/en/Validation.php b/app/Language/en/Validation.php similarity index 100% rename from ci4/app/Language/en/Validation.php rename to app/Language/en/Validation.php diff --git a/ci4/app/Libraries/.gitkeep b/app/Libraries/.gitkeep similarity index 100% rename from ci4/app/Libraries/.gitkeep rename to app/Libraries/.gitkeep diff --git a/ci4/app/Models/.gitkeep b/app/Models/.gitkeep similarity index 100% rename from ci4/app/Models/.gitkeep rename to app/Models/.gitkeep diff --git a/ci4/app/ThirdParty/.gitkeep b/app/ThirdParty/.gitkeep similarity index 100% rename from ci4/app/ThirdParty/.gitkeep rename to app/ThirdParty/.gitkeep diff --git a/ci4/app/Views/errors/cli/error_404.php b/app/Views/errors/cli/error_404.php similarity index 100% rename from ci4/app/Views/errors/cli/error_404.php rename to app/Views/errors/cli/error_404.php diff --git a/ci4/app/Views/errors/cli/error_exception.php b/app/Views/errors/cli/error_exception.php similarity index 100% rename from ci4/app/Views/errors/cli/error_exception.php rename to app/Views/errors/cli/error_exception.php diff --git a/ci4/app/Views/errors/cli/production.php b/app/Views/errors/cli/production.php similarity index 100% rename from ci4/app/Views/errors/cli/production.php rename to app/Views/errors/cli/production.php diff --git a/ci4/app/Views/errors/html/debug.css b/app/Views/errors/html/debug.css similarity index 100% rename from ci4/app/Views/errors/html/debug.css rename to app/Views/errors/html/debug.css diff --git a/ci4/app/Views/errors/html/debug.js b/app/Views/errors/html/debug.js similarity index 100% rename from ci4/app/Views/errors/html/debug.js rename to app/Views/errors/html/debug.js diff --git a/ci4/app/Views/errors/html/error_400.php b/app/Views/errors/html/error_400.php similarity index 100% rename from ci4/app/Views/errors/html/error_400.php rename to app/Views/errors/html/error_400.php diff --git a/ci4/app/Views/errors/html/error_404.php b/app/Views/errors/html/error_404.php similarity index 100% rename from ci4/app/Views/errors/html/error_404.php rename to app/Views/errors/html/error_404.php diff --git a/ci4/app/Views/errors/html/error_exception.php b/app/Views/errors/html/error_exception.php similarity index 100% rename from ci4/app/Views/errors/html/error_exception.php rename to app/Views/errors/html/error_exception.php diff --git a/ci4/app/Views/errors/html/production.php b/app/Views/errors/html/production.php similarity index 100% rename from ci4/app/Views/errors/html/production.php rename to app/Views/errors/html/production.php diff --git a/ci4/app/index.html b/app/index.html similarity index 100% rename from ci4/app/index.html rename to app/index.html diff --git a/ci4/builds b/builds similarity index 100% rename from ci4/builds rename to builds diff --git a/ci4/README.md b/ci4/README.md deleted file mode 100644 index d14b4c9..0000000 --- a/ci4/README.md +++ /dev/null @@ -1,68 +0,0 @@ -# CodeIgniter 4 Application Starter - -## What is CodeIgniter? - -CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. -More information can be found at the [official site](https://codeigniter.com). - -This repository holds a composer-installable app starter. -It has been built from the -[development repository](https://github.com/codeigniter4/CodeIgniter4). - -More information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums. - -You can read the [user guide](https://codeigniter.com/user_guide/) -corresponding to the latest version of the framework. - -## Installation & updates - -`composer create-project codeigniter4/appstarter` then `composer update` whenever -there is a new release of the framework. - -When updating, check the release notes to see if there are any changes you might need to apply -to your `app` folder. The affected files can be copied or merged from -`vendor/codeigniter4/framework/app`. - -## Setup - -Copy `env` to `.env` and tailor for your app, specifically the baseURL -and any database settings. - -## Important Change with index.php - -`index.php` is no longer in the root of the project! It has been moved inside the *public* folder, -for better security and separation of components. - -This means that you should configure your web server to "point" to your project's *public* folder, and -not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the -framework are exposed. - -**Please** read the user guide for a better explanation of how CI4 works! - -## Repository Management - -We use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages. -We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss -FEATURE REQUESTS. - -This repository is a "distribution" one, built by our release preparation script. -Problems with it can be raised on our forum, or as issues in the main repository. - -## Server Requirements - -PHP version 8.1 or higher is required, with the following extensions installed: - -- [intl](http://php.net/manual/en/intl.requirements.php) -- [mbstring](http://php.net/manual/en/mbstring.installation.php) - -> [!WARNING] -> - The end of life date for PHP 7.4 was November 28, 2022. -> - The end of life date for PHP 8.0 was November 26, 2023. -> - If you are still using PHP 7.4 or 8.0, you should upgrade immediately. -> - The end of life date for PHP 8.1 will be December 31, 2025. - -Additionally, make sure that the following extensions are enabled in your PHP: - -- json (enabled by default - don't turn it off) -- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL -- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library diff --git a/ci4/composer.json b/composer.json similarity index 100% rename from ci4/composer.json rename to composer.json diff --git a/ci4/composer.lock b/composer.lock similarity index 100% rename from ci4/composer.lock rename to composer.lock diff --git a/ci4/env b/env similarity index 100% rename from ci4/env rename to env diff --git a/ci4/phpunit.xml.dist b/phpunit.xml.dist similarity index 100% rename from ci4/phpunit.xml.dist rename to phpunit.xml.dist diff --git a/ci4/preload.php b/preload.php similarity index 100% rename from ci4/preload.php rename to preload.php diff --git a/ci4/public/.htaccess b/public/.htaccess similarity index 100% rename from ci4/public/.htaccess rename to public/.htaccess diff --git a/ci4/public/favicon.ico b/public/favicon.ico similarity index 100% rename from ci4/public/favicon.ico rename to public/favicon.ico diff --git a/ci4/public/index.php b/public/index.php similarity index 100% rename from ci4/public/index.php rename to public/index.php diff --git a/ci4/public/robots.txt b/public/robots.txt similarity index 100% rename from ci4/public/robots.txt rename to public/robots.txt diff --git a/ci4/spark b/spark similarity index 100% rename from ci4/spark rename to spark diff --git a/ci4/tests/.htaccess b/tests/.htaccess similarity index 100% rename from ci4/tests/.htaccess rename to tests/.htaccess diff --git a/ci4/tests/README.md b/tests/README.md similarity index 100% rename from ci4/tests/README.md rename to tests/README.md diff --git a/ci4/tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php b/tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php similarity index 100% rename from ci4/tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php rename to tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php diff --git a/ci4/tests/_support/Database/Seeds/ExampleSeeder.php b/tests/_support/Database/Seeds/ExampleSeeder.php similarity index 100% rename from ci4/tests/_support/Database/Seeds/ExampleSeeder.php rename to tests/_support/Database/Seeds/ExampleSeeder.php diff --git a/ci4/tests/_support/Libraries/ConfigReader.php b/tests/_support/Libraries/ConfigReader.php similarity index 100% rename from ci4/tests/_support/Libraries/ConfigReader.php rename to tests/_support/Libraries/ConfigReader.php diff --git a/ci4/tests/_support/Models/ExampleModel.php b/tests/_support/Models/ExampleModel.php similarity index 100% rename from ci4/tests/_support/Models/ExampleModel.php rename to tests/_support/Models/ExampleModel.php diff --git a/ci4/tests/database/ExampleDatabaseTest.php b/tests/database/ExampleDatabaseTest.php similarity index 100% rename from ci4/tests/database/ExampleDatabaseTest.php rename to tests/database/ExampleDatabaseTest.php diff --git a/ci4/tests/index.html b/tests/index.html similarity index 100% rename from ci4/tests/index.html rename to tests/index.html diff --git a/ci4/tests/session/ExampleSessionTest.php b/tests/session/ExampleSessionTest.php similarity index 100% rename from ci4/tests/session/ExampleSessionTest.php rename to tests/session/ExampleSessionTest.php diff --git a/ci4/tests/unit/HealthTest.php b/tests/unit/HealthTest.php similarity index 100% rename from ci4/tests/unit/HealthTest.php rename to tests/unit/HealthTest.php diff --git a/ci4/writable/.htaccess b/writable/.htaccess similarity index 100% rename from ci4/writable/.htaccess rename to writable/.htaccess diff --git a/ci4/writable/cache/index.html b/writable/cache/index.html similarity index 100% rename from ci4/writable/cache/index.html rename to writable/cache/index.html diff --git a/ci4/writable/index.html b/writable/index.html similarity index 100% rename from ci4/writable/index.html rename to writable/index.html diff --git a/ci4/writable/logs/index.html b/writable/logs/index.html similarity index 100% rename from ci4/writable/logs/index.html rename to writable/logs/index.html diff --git a/ci4/writable/session/index.html b/writable/session/index.html similarity index 100% rename from ci4/writable/session/index.html rename to writable/session/index.html diff --git a/ci4/writable/uploads/index.html b/writable/uploads/index.html similarity index 100% rename from ci4/writable/uploads/index.html rename to writable/uploads/index.html