Statamic Installation and Setup

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Statamic Installation and Setup

Statamic requires PHP 8.1+, Composer, and Node.js for asset compilation. It comes in two variants: Statamic Free (single site, no commercial features) and Statamic Pro (license ~$259/site, multisite, revisions, Git integration, roles).

Installation via Composer

# New project
composer create-project statamic/statamic my-site
cd my-site

# Create first user
php artisan statamic:make:user

.env

APP_NAME="My Site"
APP_ENV=production
APP_KEY=base64:...
APP_URL=https://mysite.com

STATAMIC_LICENSE_KEY=your-license-key  # for Pro
STATAMIC_STACHE_WATCHER=false           # disable in production

# If using Eloquent (database instead of files)
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=mysite
DB_USERNAME=mysite
DB_PASSWORD=secret

CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_CONNECTION=redis

Key Configs

// config/statamic/stache.php
'stores' => [
  // By default — flat files
  'entries' => ['driver' => 'entries', 'directory' => base_path('content/collections')],
],
'watcher' => env('STATAMIC_STACHE_WATCHER', true), // false in production
// config/statamic/cp.php
'start_page'    => 'collections',
'date_format'   => 'd.m.Y',
'time_format'   => 'H:i',
'theme'         => 'rad',  // or 'classic'

Switching to Eloquent

php artisan statamic:install:eloquent-driver
php artisan migrate
php artisan statamic:eloquent:import --all  # import existing content

Nginx Configuration

server {
    server_name mysite.com;
    root /var/www/mysite/public;
    index index.php;

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

    location ~ \.php$ {
        fastcgi_pass unix:/run/php/php8.2-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        include fastcgi_params;
    }

    # Cache for static files
    location ~* \.(css|js|jpg|png|gif|ico|svg|woff2)$ {
        expires 1y;
        add_header Cache-Control "public, immutable";
    }
}

Static Caching (Pro)

// config/statamic/static_caching.php
'strategy' => env('STATAMIC_STATIC_CACHING_STRATEGY', null),
// 'null' — no caching
// 'file' — file cache (requires Nginx rewrite rule)
// 'application' — Laravel Cache

Statamic installation and basic setup — 2–4 hours.