{"repo":"calebdw/laravel-sql-entities","free":true,"listed":false,"github":"https://github.com/calebdw/laravel-sql-entities","clone":"git clone https://github.com/calebdw/laravel-sql-entities.git","description":":books: Manage SQL entities in Laravel with ease!","language":"PHP","stars":48,"topics":["database","database-views","laravel","php","sql","sql-entity","views","database-functions","database-triggers","database-procedures"],"license":"MIT","category":"databases-storage","readme_excerpt":"Manage SQL entities in Laravel with ease! Laravel's schema builder and migration system are great for managing tables and indexes---but offer no built-in support for other SQL entities, such as (materialized) views, procedures, functions, and triggers. These often get handled via raw SQL in migrations, making them hard to manage, prone to unknown conflicts, and difficult to track over time. laravel-sql-entities solves this by offering: - 📦 Class-based definitions: bringing views, functions, triggers, and more into your application code. - 🧠 First-class source control: you can easily track changes, review diffs, and resolve conflicts. - 🧱 Decoupled grammars: letting you support multiple drivers without needing dialect-specific SQL. - 🔁 Lifecycle hooks: run logic at various points, enabling logging, auditing, and more. - 🚀 Batch operations: easily create or drop all entities in a single command or lifecycle event. - 🧪 Testability: definitions are just code so they’re easy to test, validate, and keep consistent. Whether you're managing reporting views, business logic functions, or automation triggers, this package helps you treat SQL entities like real, versioned parts of your codebase---no more scattered SQL in migrations! [!NOTE] Migration rollbacks are not supported since the definitions always reflect the latest state. \"We're never going backwards. You only go forward.\" -Taylor Otwell 📦 Installation First pull in the package using Composer: Optionally, publish the con","default_branch":null,"files":null,"tree":[],"storefront":"/r/calebdw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/calebdw/laravel-sql-entities/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}