PHPackages                             scrawler/arca - 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. [Database &amp; ORM](/categories/database)
4. /
5. scrawler/arca

ActiveLibrary[Database &amp; ORM](/categories/database)

scrawler/arca
=============

Arca ORM by Scrawler

v4.2.0(1y ago)343482[5 PRs](https://github.com/scrawler-labs/arca-orm/pulls)1MITPHPPHP &gt;=8.1.0CI failing

Since May 24Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/scrawler-labs/arca-orm)[ Packagist](https://packagist.org/packages/scrawler/arca)[ RSS](/packages/scrawler-arca/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (11)Versions (37)Used By (1)

 🚀 ARCA ORM
===========

[](#--arca-orm)

[![GitHub Workflow Status](https://camo.githubusercontent.com/035064d80cb0a903b70996f8379e3a4304f7466442cdd1ffc6375374abed6cd6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73637261776c65722d6c6162732f617263612d6f726d2f6d61696e2e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/scrawler-labs/arca-orm/actions/workflows/main.yml) [![Codecov](https://camo.githubusercontent.com/34a0dabf57c274972fe0458a24d14bbe6a5e24e388d0fe259bd3f69615a7b7f8/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f73637261776c65722d6c6162732f617263612d6f726d3f7374796c653d666c61742d737175617265)](https://app.codecov.io/gh/scrawler-labs/arca-orm) [![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/5b803cda92dafb7f9b6c4db2d5d7dbc684700ec06e645414e54c923ba9309730/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f73637261776c65722d6c6162732f617263612d6f726d3f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/scrawler-labs/arca-orm/) [![PHPStan Enabled](https://camo.githubusercontent.com/a44af5fc39484990738cc4bd3874d884a42afdeed470b34a010e77bb8341ef31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/scrawler-labs/arca-orm/actions/workflows/main.yml)[![Packagist Version (including pre-releases)](https://camo.githubusercontent.com/c4fe35fccaf3cb2d7d9a758fda12cb370dac3ac92e8bb17264bbef03b9f7b0ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73637261776c65722f617263613f696e636c7564655f70726572656c6561736573267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c4fe35fccaf3cb2d7d9a758fda12cb370dac3ac92e8bb17264bbef03b9f7b0ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73637261776c65722f617263613f696e636c7564655f70726572656c6561736573267374796c653d666c61742d737175617265) [![GitHub License](https://camo.githubusercontent.com/08c8dfbe44e81779f1c06bb05a0cf3ac8d1defa20fe01e6899756b3680384a87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73637261776c65722d6c6162732f617263612d6f726d3f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/08c8dfbe44e81779f1c06bb05a0cf3ac8d1defa20fe01e6899756b3680384a87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73637261776c65722d6c6162732f617263612d6f726d3f636f6c6f723d626c7565267374796c653d666c61742d737175617265)

🔥 Low code , Zero Configuration ORM that creates models, config, database and tables on the fly. 🔥
 🇮🇳 Made in India 🇮🇳

[![arca-orm](https://user-images.githubusercontent.com/7591484/170266248-62e23e46-241c-4063-93b8-772eb0de51b0.gif)](https://user-images.githubusercontent.com/7591484/170266248-62e23e46-241c-4063-93b8-772eb0de51b0.gif)

Complete documentation can be found [here](http://component.scrawlerlabs.com/arca-orm)

🤔 Why use Arca Orm ?
--------------------

[](#-why-use-arca-orm-)

- Automatically creates tables and columns as you go
- No configuration, just fire and forget
- Save loads of time while working on database
- Built upon stable foundation of Doctrine Dbal and extensively tested
- Thanks to [loophp](https://github.com/loophp/collection) Arca comes with Lazy collection and tons of helper collection functions
- Supports lots database platforms , you can see the complete list [here](https://component.scrawlerlabs.com/arca-orm/database/)
- Supports concurrent queries and connection pooling with swoole and async with amphp. Check out integration docs [here](https://component.scrawlerlabs.com/arca-orm/swoole/)

❗Requirements
-------------

[](#requirements)

- PHP 8.1 or greater
- PHP PDO or other supported database adapter
- Mysql, MariaDB, Sqlite or any other supported database. check the list [here](https://component.scrawlerlabs.com/arca-orm/database/)

💻 Installation
--------------

[](#-installation)

You can install Arca ORM via Composer. If you don't have composer installed , you can download composer from [here](https://getcomposer.org/download/)

```
composer require scrawler/arca

```

🏁 QuickStart
------------

[](#--quickstart)

### ✨ Setup

[](#-setup)

```
