statamic-rad-pack / runway
Eloquently manage your database models in Statamic.
Installs: 49 266
Dependents: 3
Suggesters: 0
Security: 0
Stars: 116
Watchers: 4
Forks: 50
Open Issues: 3
Requires
- php: ^8.2
- ajthinking/archetype: ^1.0.3 || ^2.0
- laravel/framework: ^10.25.0 || ^11.3
- laravel/prompts: ^0.1.17
- pixelfear/composer-dist-plugin: ^0.1.5
- spatie/ignition: ^1.15
- spatie/invade: ^2.1
- statamic/cms: ^5.41
Requires (Dev)
- laravel/pint: ^1.0
- orchestra/testbench: ^8.28 || ^9.6.1
- phpunit/phpunit: ^10.5.35
- spatie/test-time: ^1.2
- 7.x-dev
- v7.13.3
- v7.13.2
- v7.13.1
- v7.13.0
- v7.12.0
- v7.11.0
- v7.10.1
- v7.10.0
- v7.9.5
- v7.9.4
- v7.9.3
- v7.9.2
- v7.9.1
- v7.9.0
- v7.8.0
- v7.7.5
- v7.7.4
- v7.7.3
- v7.7.2
- v7.7.1
- v7.7.0
- v7.6.0
- v7.5.3
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.0
- v7.3.1
- v7.3.0
- v7.2.0
- v7.1.1
- v7.1.0
- v7.0.0
- 6.x-dev
- v6.7.1
- v6.7.0
- v6.6.5
- v6.6.4
- v6.6.3
- v6.6.2
- v6.6.1
- v6.6.0
- v6.5.0
- v6.4.1
- v6.4.0
- v6.3.0
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.6
- v6.0.5
- v6.0.4
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- 5.x-dev
- v5.6.2
- v5.6.1
- v5.6.0
- v5.5.3
- v5.5.2
- v5.5.1
- v5.5.0
- v5.4.1
- v5.4.0
- v5.3.3
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.2
- v5.2.1
- v5.2.0
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- 4.x-dev
- v4.2.10
- v4.2.9
- v4.2.8
- v4.2.7
- v4.2.6
- v4.2.5
- v4.2.4
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.0
- 3.x-dev
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- 2.x-dev
- v2.6.7
- v2.6.6
- v2.6.5
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- 2.3.x-dev
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- 2.2.x-dev
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- 2.1.x-dev
- v2.1.37
- v2.1.36
- v2.1.35
- v2.1.34
- v2.1.33
- v2.1.32
- v2.1.31
- v2.1.30
- v2.1.29
- v2.1.28
- v2.1.27
- v2.1.26
- v2.1.25
- v2.1.24
- v2.1.23
- v2.1.22
- v2.1.21
- v2.1.20
- v2.1.19
- v2.1.18
- v2.1.17
- v2.1.10
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- 2.0.x-dev
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-beta.2
- v2.0.0.beta-1
- v1.1.0
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-fix/listing-filters
- dev-master
This package is auto-updated.
Last update: 2024-12-20 16:53:11 UTC
README
Runway gives you the ability to display & manage your Eloquent models in Statamic.
"With Runway I was able to quickly make a beautiful admin panel that administrators can use. If Runway didn't exist, it would have taken me a week or two to build something that wasn't quite as nice. Thanks for saving me days and days of work Duncan!"
Features
Control Panel integration
Runway fits right into the Control Panel - enabling you to create, edit and view your models. In most cases, you'll not notice the difference between an entry in the CP and an Eloquent model in the CP.
Front-end routing
Need to show your models on the front-end of your site? No problem - Runway's got that under control. Simply tell Runway the route you'd like to use and it'll serve up the front-end for you.
// config/runway.php return [ 'resources' => [ \App\Models\Product::class => [ 'route' => '/products/{{ slug }}', ], ], ];
Antlers templating
In addition to front-end routing, you may also use Runway's tag to loop through your models and display the results. The tag supports filtering, using Eloquent scopes and sorting.
{{ runway:product }} <h2>{{ name }}</h2> <p>Price: {{ price }}</p> {{ /runway:product }}
GraphQL API
If you're a GraphQL fan, you're now able to fetch your models via GraphQL. Runway will augment the fields just like you'd expect.
{ products(limit: 25, sort: "name") { data { id name price description } } }
REST API
If you don't like GraphQL and would prefer plain old REST, you can do that too. Runway easily integrates with Statamic's REST API.
'resources' => [ 'collections' => true, // ... 'runway' => [ 'product' => true, ], ],
Support
If you find a bug, have some question or have a feature request, please open a GitHub Issue or Discussion.
Please note: only the latest version of this addon is supported. Any bug reports regarding an old version will be closed.