PHPackages                             cortex/installer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. cortex/installer

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

cortex/installer
================

Cortex Installer is a command line tool that depends on composer to install the Cortex project seamlessly.

01PHP

Since Jan 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rinvex/cortex-installer-classic)[ Packagist](https://packagist.org/packages/cortex/installer)[ RSS](/packages/cortex-installer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Cortex Installer
================

[](#cortex-installer)

⚠️ This package is abandoned and no longer maintained. No replacement package was suggested. ⚠️

👉 If you are interested to step on as the main maintainer of this package, please [reach out to me](https://twitter.com/omranic)!

---

**Cortex Installer** is a command line tool that depends on composer to install the Cortex project seamlessly.

[![Packagist](https://camo.githubusercontent.com/79a1c66cd12692040264c3c50f07f2c2bd04dc11482d0d591f62cd5157f64370/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f727465782f696e7374616c6c65722e7376673f6c6162656c3d5061636b6167697374267374796c653d666c61742d737175617265)](https://packagist.org/packages/cortex/installer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ba48fd5789c8fe592abb835bd082034aeef66311c1f553cb41796bf60f990b69/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72696e7665782f636f727465782d696e7374616c6c65722e7376673f6c6162656c3d5363727574696e697a6572267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rinvex/cortex-installer/)[![Code Climate](https://camo.githubusercontent.com/73206beb65adb8ff7f8be046bad2737ced118dc253ec68c61d6cb1e74b5f71ef/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f72696e7665782f636f727465782d696e7374616c6c65722e7376673f6c6162656c3d436f6465436c696d617465267374796c653d666c61742d737175617265)](https://codeclimate.com/github/rinvex/cortex-installer)[![Travis](https://camo.githubusercontent.com/da7d5aaf43cbc0e135e0ab81ef69e68dc063c371bcf862cde7665431510cfe3d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72696e7665782f636f727465782d696e7374616c6c65722e7376673f6c6162656c3d5472617669734349267374796c653d666c61742d737175617265)](https://travis-ci.org/rinvex/cortex-installer)[![StyleCI](https://camo.githubusercontent.com/d792eb8ed773cc1f339999b102d260797af9f18fa769338bf17a798261f731dc/68747470733a2f2f7374796c6563692e696f2f7265706f732f39303132313930332f736869656c64)](https://styleci.io/repos/90121903)[![License](https://camo.githubusercontent.com/c38e8a281796f76b5a7913395827cab77b77c397b08b933e2352414b8079d659/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f727465782f696e7374616c6c65722e7376673f6c6162656c3d4c6963656e7365267374796c653d666c61742d737175617265)](https://github.com/rinvex/cortex-installer/blob/develop/LICENSE)

Installation
============

[](#installation)

- [Installation](#installation)
    - [Server Requirements](#server-requirements)
    - [Installing Laravel](#installing-laravel)
    - [Configuration](#configuration)
- [Web Server Configuration](#web-server-configuration)
    - [Pretty URLs](#pretty-urls)

Installation
------------

[](#installation-1)

### Server Requirements

[](#server-requirements)

The Cortex application has a few system requirements. Of course, all of these requirements are satisfied by the [Punnet](https://github.com/rinvex/punnet) docker environment, so it's highly recommended that you use Punnet as your local Cortex development environment.

However, if you are not using Punnet, you will need to make sure your server meets the following requirements:

- PHP &gt;= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- BCMath PHP Extension

### Installing Cortex

[](#installing-cortex)

Cortex utilizes [Composer](https://getcomposer.org) to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.

#### Via Cortex Installer

[](#via-cortex-installer)

First, download the Cortex installer using Composer:

```
composer global require cortex/installer
```

Make sure to place composer's system-wide vendor bin directory in your `$PATH` so the cortex executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:

- macOS: `$HOME/.composer/vendor/bin`
- GNU / Linux Distributions: `$HOME/.config/composer/vendor/bin`

Once installed, the `cortex new` command will create a fresh Cortex installation in the directory you specify. For instance, `cortex new blog` will create a directory named `blog` containing a fresh Cortex installation with all of Cortex's dependencies already installed:

```
cortex new blog
```

#### Via Composer Create-Project

[](#via-composer-create-project)

Alternatively, you may also install Cortex by issuing the Composer `create-project` command in your terminal:

```
composer create-project --prefer-dist rinvex/cortex blog
```

#### Local Development Server

[](#local-development-server)

If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the `serve` Artisan command. This command will start a development server at `http://localhost:8000`:

```
php artisan serve
```

Of course, more robust local development options are available via [Punnet](https://github.com/rinvex/punnet).

### Configuration

[](#configuration)

#### Public Directory

[](#public-directory)

After installing Cortex, you should configure your web server's document / web root to be the `public` directory. The `index.php` in this directory serves as the front controller for all HTTP requests entering your application.

#### Configuration Files

[](#configuration-files)

All of the configuration files for the Cortex application are stored in the `config` directory. Each option is documented, so feel free to look through the files and get familiar with the options available to you.

#### Directory Permissions

[](#directory-permissions)

After installing Cortex, you may need to configure some permissions. Directories within the `storage` and the `bootstrap/cache` directories should be writable by your web server or Cortex will not run. If you are using the [Punnet](https://github.com/rinvex/punnet) docker environment, these permissions should already be set.

#### Application Key

[](#application-key)

The next thing you should do after installing Cortex is set your application key to a random string. If you installed Cortex via Composer or the Cortex installer, this key has already been set for you by the `php artisan key:generate` command.

Typically, this string should be 32 characters long. The key can be set in the `.env` environment file. If you have not renamed the `.env.example` file to `.env`, you should do that now. **If the application key is not set, your user sessions and other encrypted data will not be secure!**

#### Additional Configuration

[](#additional-configuration)

Cortex needs almost no other configuration out of the box. You are free to get started developing! However, you may wish to review the `config/app.php` file and its documentation. It contains several options such as `timezone` and `locale` that you may wish to change according to your application.

You may also want to configure a few additional components of Cortex, such as:

- Cache
- Database
- Session

Web Server Configuration
------------------------

[](#web-server-configuration)

### Pretty URLs

[](#pretty-urls)

#### Apache

[](#apache)

Cortex includes a `public/.htaccess` file that is used to provide URLs without the `index.php` front controller in the path. Before serving Cortex with Apache, be sure to enable the `mod_rewrite` module so the `.htaccess` file will be honored by the server.

If the `.htaccess` file that ships with Cortex does not work with your Apache installation, try this alternative:

```
Options +FollowSymLinks -Indexes
RewriteEngine On

RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
```

#### Nginx

[](#nginx)

If you are using Nginx, the following directive in your site configuration will direct all requests to the `index.php` front controller:

```
location / {
    try_files $uri $uri/ /index.php?$query_string;
}
```

Of course, when using [Punnet](https://github.com/rinvex/punnet), pretty URLs will be automatically configured.

Changelog
---------

[](#changelog)

Refer to the [Changelog](CHANGELOG.md) for a full history of the project.

Support
-------

[](#support)

The following support channels are available at your fingertips:

- [Chat on Slack](http://chat.rinvex.com)
- [Help on Email](mailto:help@rinvex.com)
- [Follow on Twitter](https://twitter.com/rinvex)

Contributing &amp; Protocols
----------------------------

[](#contributing--protocols)

Thank you for considering contributing to this project! The contribution guide can be found in [CONTRIBUTING.md](CONTRIBUTING.md).

Bug reports, feature requests, and pull requests are very welcome.

- [Versioning](CONTRIBUTING.md#versioning)
- [Pull Requests](CONTRIBUTING.md#pull-requests)
- [Coding Standards](CONTRIBUTING.md#coding-standards)
- [Feature Requests](CONTRIBUTING.md#feature-requests)
- [Git Flow](CONTRIBUTING.md#git-flow)

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this project, please send an e-mail to [security@rinvex.com](security@rinvex.com). All security vulnerabilities will be promptly addressed.

About Rinvex
------------

[](#about-rinvex)

Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We believe that our drive The Value, The Reach, and The Impact is what differentiates us and unleash the endless possibilities of our philosophy through the power of software. We like to call it Innovation At The Speed Of Life. That’s how we do our share of advancing humanity.

License
-------

[](#license)

This software is released under [The MIT License (MIT)](LICENSE).

(c) 2016-2019 Rinvex LLC, Some rights reserved.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e54af04bcacb96e00894621335f88df7ed9895b6cc245deffdc9830a21cfe29?d=identicon)[Omranic](/maintainers/Omranic)

---

Top Contributors

[![Omranic](https://avatars.githubusercontent.com/u/406705?v=4)](https://github.com/Omranic "Omranic (2 commits)")

### Embed Badge

![Health badge](/badges/cortex-installer/health.svg)

```
[![Health](https://phpackages.com/badges/cortex-installer/health.svg)](https://phpackages.com/packages/cortex-installer)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.3k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
