betreuteszocken / cs-map-bundle
Provides methods to detect and categorize maps within you counter strike installation folder.
dev-master
2018-12-12 16:59 UTC
Requires
- php: >=5.5
- symfony/framework-bundle: ^3.1 || ^4.0
This package is not auto-updated.
Last update: 2024-11-08 11:57:40 UTC
README
TODO
Table of Contents
Integration
Install via Composer
composer require betreuteszocken/cs-map-bundle "dev-master"
Add Bundle to Symfony Application
Add the Betreuteszocken\CsMapBundle
to app/AppKernel.php
use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { return [ // [...] new Betreuteszocken\CsMapBundle\CsMapBundle(), ]; } // [...] }
Configure
Add Configuration
Via the config.yml
cs_maps: path: "/home/user/.steam/steam/steamapps/common/csgo/maps" categories: - {name: "aim_*", regex: '^aim_'} - {name: "cs_*", regex: '^cs_'} - {name: "de_*", regex: '^de_'} - {name: "fy_*", regex: '^fy_'}