# Folder Structure

CakePHP Light Able folder structure is meticulously organized to enhance project scalability and maintainability. With directories for routes, controllers, assets, views, and configuration settings.

{% tabs %}
{% tab title="CakePHP" %}

<pre><code><strong>├── 📁 Admin  
</strong>        ├── 📁bin
        ├── 📁config
        ├── 📁logs
        ├── 📁plugins
        ├── 📁resources
        ├── 📁src
        ├── 📁 templates
        |        ├── 📁cell
        |        ├── 📁 element
        |        |        └── 📄 All Common layout PHP Pages
        |        ├── 📁email
        |        ├── 📁views
        |        ├── 📁Error
        |        ├── 📁layout
        |        ├── 📁 pages
        |        |        └── 📄 All PHP Pages
        |        └── 📁Users
        ├── 📁 tests
        ├── 📁 tmp
        ├── 📁 webroot
        |        ├── 📁css
        |        ├── 📁fonts
        |        ├── 📁images
        |        ├── 📁js
        |        └── 📁json
        ├── 📄 .editorconfig
        ├── 📄 .gitattributes
        ├── 📄 .gitignore
        ├── 📄 .htaccess
        ├── 📄 composer.json
        ├── 📄 composer.lock
        ├── 📄 index.php
        ├── 📄 phpcs.xml
        ├── 📄 phpstan.neon
        ├── 📄 phpunit.xml.dist
        └── 📄 README.md
</code></pre>

{% endtab %}
{% endtabs %}

### Light Able CakePHP Folders Structure

<table><thead><tr><th width="238">File/Folder</th><th width="146">Path</th><th>Description</th></tr></thead><tbody><tr><td>📂Lightable-CakePHP</td><td>root:</td><td>The main folder of our project.</td></tr><tr><td>📁src</td><td>src/</td><td>A Directory for controllers.</td></tr><tr><td>📁logs</td><td>logs/</td><td>A Directory for error.</td></tr><tr><td>📁 config</td><td>config/</td><td>A Directory for config.</td></tr><tr><td>📁tmp</td><td>tmp/</td><td>A Directory for cache.</td></tr><tr><td>📁 templates</td><td>templates/</td><td>All the PHP files are here.</td></tr><tr><td>📁 tests</td><td>tests/</td><td>All tests files will be here.</td></tr></tbody></table>

### Light Able CakePHP Files

<table><thead><tr><th width="191.33333333333331">File</th><th width="156">Path</th><th>Description</th></tr></thead><tbody><tr><td>composer.json</td><td>/composer.json</td><td>All the CakePHP packages will be in this file</td></tr></tbody></table>
