GithubHelp home page GithubHelp logo

laravel-dna's Introduction

laravel-dna

Laravel 11 wrapper around php-dna

Installation

To install the php-dna dependency in your Laravel project, run the following command in your terminal:

composer require liberu-genealogy/laravel-dna

This will download and install the laravel-dna package, making it available for use within your Laravel application.

Dispatching the DispatchMatchkitsJob

To dispatch the DispatchMatchkitsJob for processing DNA matchkits, you can use the following code snippet:

dispatch(new \Src\Jobs\DispatchMatchkitsJob());

This will enqueue the job for processing by the Laravel queue system. Make sure your queue worker is running to process the job.

Usage

After setting up the php-dna dependency and dispatching the DispatchMatchkitsJob, you can start integrating DNA processing functionalities into your Laravel application. Refer to the php-dna documentation for more details on available methods and their usage.

For any custom functionalities or issues, feel free to extend the job or service provider classes as needed.

laravel-dna's People

Contributors

curtisdelicata avatar sweep-ai[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

laravel-dna's Issues

Sweep: create laravel interface

Details

Create laravel interface for https://github.com/liberu-genealogy/php-dna/blob/main/src/MatchKits.php from php-dna package

Enable easy running of match kits command, job and handling interface for running the class

Checklist
  • Create app/Facades/MatchKitsFacade.phpf52f403 Edit
  • Running GitHub Actions for app/Facades/MatchKitsFacade.phpEdit
  • Modify app/Providers/DnaServiceProvider.php4af46e9 Edit
  • Running GitHub Actions for app/Providers/DnaServiceProvider.phpEdit
  • Modify app/Jobs/DispatchMatchkitsJob.php76a8edd Edit
  • Running GitHub Actions for app/Jobs/DispatchMatchkitsJob.phpEdit
  • Create tests/Unit/MatchKitsFacadeTest.php0ef9ef5 Edit
  • Running GitHub Actions for tests/Unit/MatchKitsFacadeTest.phpEdit

Sweep: merge app/* into src/

Checklist
  • Create src/Facades/MatchKitsFacade.phpa6ae68e Edit
  • Running GitHub Actions for src/Facades/MatchKitsFacade.phpEdit
  • Modify src/Providers/DnaServiceProvider.php ! No changes made Edit
  • Running GitHub Actions for src/Providers/DnaServiceProvider.phpEdit
  • Modify src/Jobs/DispatchMatchkitsJob.php0c152bd Edit
  • Running GitHub Actions for src/Jobs/DispatchMatchkitsJob.phpEdit
  • Modify composer.json ! No changes made Edit
  • Running GitHub Actions for composer.jsonEdit

Sweep: rename app/ to src/ and add composer.json psr4 auto loading

Checklist
  • Modify README.mdc5ae951 Edit
  • Running GitHub Actions for README.mdEdit
  • Modify composer.json5de11f3 Edit
  • Running GitHub Actions for composer.jsonEdit
  • Create src/Providers/DnaServiceProvider.phpfcf41d7 Edit
  • Running GitHub Actions for src/Providers/DnaServiceProvider.phpEdit
  • Create src/Jobs/DispatchMatchkitsJob.php27c05eb Edit
  • Running GitHub Actions for src/Jobs/DispatchMatchkitsJob.phpEdit
  • Modify tests/Unit/MatchKitsFacadeTest.php25d6b45 Edit
  • Running GitHub Actions for tests/Unit/MatchKitsFacadeTest.phpEdit
  • Modify tests/Unit/DispatchMatchkitsJobTest.php11cb700 Edit
  • Running GitHub Actions for tests/Unit/DispatchMatchkitsJobTest.phpEdit
  • Modify tests/Unit/DnaServiceProviderTest.php89f93c6 Edit
  • Running GitHub Actions for tests/Unit/DnaServiceProviderTest.phpEdit

Sweep: create structure

Details

Create application which is a laravel 11 wrapper around https://github.com/liberu-genealogy/php-dna

Setup composer.json and add a handler and job for dispatching matchkits class from php-dna

Checklist
  • Create composer.json5ccb05b Edit
  • Running GitHub Actions for composer.jsonEdit
  • Create app/Jobs/DispatchMatchkitsJob.phpfac5d94 Edit
  • Running GitHub Actions for app/Jobs/DispatchMatchkitsJob.phpEdit
  • Create app/Providers/DnaServiceProvider.phpfa5442f Edit
  • Running GitHub Actions for app/Providers/DnaServiceProvider.phpEdit
  • Modify README.md6d29e59 Edit
  • Running GitHub Actions for README.mdEdit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.