|
1 | | -<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p> |
| 1 | + |
2 | 2 |
|
3 | | -<p align="center"> |
4 | | -<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a> |
5 | | -<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a> |
6 | | -<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a> |
7 | | -<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a> |
8 | | -</p> |
| 3 | +## Octopus - Infinite Connectivity System |
9 | 4 |
|
10 | | -## About Laravel |
| 5 | +Octopus is Laravel Eloquent Extension for Infinite Polymorphic Relationship Interface. |
11 | 6 |
|
12 | | -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: |
| 7 | +Octopus is accessible, powerful, and provides connectivity required for large, robust applications. |
13 | 8 |
|
14 | | -- [Simple, fast routing engine](https://laravel.com/docs/routing). |
15 | | -- [Powerful dependency injection container](https://laravel.com/docs/container). |
16 | | -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. |
17 | | -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). |
18 | | -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). |
19 | | -- [Robust background job processing](https://laravel.com/docs/queues). |
20 | | -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). |
| 9 | +## What is Octopus? |
21 | 10 |
|
22 | | -Laravel is accessible, powerful, and provides tools required for large, robust applications. |
| 11 | +Octopus allows any Model to connect to any other model on the fly. The core of Octopus is a unified partitioned table called Tags, that contains all the connections between tables, allowing a pure database design, where tables remain pure and decoupled from each other, yet are able to communicate and connect to each other seamlessly. |
23 | 12 |
|
24 | | -## Learning Laravel |
| 13 | +Provided functions: |
| 14 | +```php |
| 15 | +// Simple direct Model connections |
25 | 16 |
|
26 | | -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. |
| 17 | +// Single connection |
| 18 | +$this->tagOne(TargetModel): HasOneThrough |
| 19 | +// Single connection reversed |
| 20 | +$this->tagOneInverse(SourceModel): HasOneThrough |
27 | 21 |
|
28 | | -You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. |
| 22 | +// To many |
| 23 | +$this->tagMany(TargetModel): HasManyThrough |
| 24 | +// To many reversed |
| 25 | +$this->tagManyInverse(SourceModel): HasManyThrough |
29 | 26 |
|
30 | | -If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. |
| 27 | +// Neuron mapping of connections |
31 | 28 |
|
32 | | -## Laravel Sponsors |
| 29 | +// To one through a Neuron categorized connection |
| 30 | +$this->tagOneThrough(Category, [Categorie Ids], TargetModel): HasOne |
| 31 | +// To one through an inversed Neuron categorized connection |
| 32 | +$this->tagOneThroughInverse(Category, [Categorie Ids], SourceModel): HasOne |
33 | 33 |
|
34 | | -We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). |
| 34 | +// To many through a Neuron categorized connection |
| 35 | +$this->tagManyThrough(Category, [Categories], TargetModel): HasMany |
| 36 | +// To many through an inversed Neuron categorized connection |
| 37 | +$this->tagManyThroughInverse(Category, [Categories], SourceModel): HasMany |
| 38 | +``` |
35 | 39 |
|
36 | | -### Premium Partners |
37 | | - |
38 | | -- **[Vehikl](https://vehikl.com/)** |
39 | | -- **[Tighten Co.](https://tighten.co)** |
40 | | -- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** |
41 | | -- **[64 Robots](https://64robots.com)** |
42 | | -- **[Cubet Techno Labs](https://cubettech.com)** |
43 | | -- **[Cyber-Duck](https://cyber-duck.co.uk)** |
44 | | -- **[Many](https://www.many.co.uk)** |
45 | | -- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** |
46 | | -- **[DevSquad](https://devsquad.com)** |
47 | | -- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** |
48 | | -- **[OP.GG](https://op.gg)** |
49 | | -- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** |
50 | | -- **[Lendio](https://lendio.com)** |
51 | | - |
52 | | -## Contributing |
53 | | - |
54 | | -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). |
55 | | - |
56 | | -## Code of Conduct |
57 | | - |
58 | | -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). |
59 | | - |
60 | | -## Security Vulnerabilities |
61 | | - |
62 | | -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed. |
63 | | - |
64 | | -## License |
65 | | - |
66 | | -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). |
| 40 | +Octopus is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). |
0 commit comments