use-laravel 0.0.1

Laravel metadata primitives for RustUse.
Documentation
  • Coverage
  • 12.12%
    4 out of 33 items documented1 out of 26 items with examples
  • Size
  • Source code size: 7.14 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 978.41 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-php
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-laravel

Laravel metadata primitives for RustUse.

Experimental

use-laravel is experimental while use-php remains below 0.3.0.

Example

use use_laravel::{ArtisanCommandName, LaravelConfigKey, LaravelRouteName};

let route = LaravelRouteName::new("books.index")?;
let command = ArtisanCommandName::new("books:sync")?;
let config = LaravelConfigKey::new("cache.default")?;

assert_eq!(route.as_str(), "books.index");
assert_eq!(command.as_str(), "books:sync");
assert_eq!(config.as_str(), "cache.default");
# Ok::<(), use_laravel::LaravelError>(())

Scope

  • Route names, middleware names, Artisan command names, migration names, service provider names, config keys, and metadata references.

Non-goals

  • Laravel runtime behavior, application containers, routing, migrations, queues, or framework integration.

License

Licensed under either Apache-2.0 or MIT.