diff --git a/docs/.npmrc b/docs/.npmrc new file mode 100644 index 00000000..6c59086d --- /dev/null +++ b/docs/.npmrc @@ -0,0 +1 @@ +enable-pre-post-scripts=true diff --git a/docs/components/asciinema-player/player.tsx b/docs/components/asciinema-player/player.tsx new file mode 100644 index 00000000..f5e93b14 --- /dev/null +++ b/docs/components/asciinema-player/player.tsx @@ -0,0 +1,20 @@ +import "asciinema-player/dist/bundle/asciinema-player.css"; +import React, { useEffect, useRef } from 'react'; + +const AsciinemaPlayer = ({ src, options = {}, ...rest }) => { + const ref = useRef(null); + + useEffect(() => { + if (typeof window !== 'undefined') { + import('asciinema-player').then((module) => { + if (ref.current) { + module.create(src, ref.current, options); + } + }); + } + }, [src, JSON.stringify(options)]); + + return
; +}; + +export default AsciinemaPlayer; diff --git a/docs/next-sitemap.config.js b/docs/next-sitemap.config.js new file mode 100644 index 00000000..3a0070fc --- /dev/null +++ b/docs/next-sitemap.config.js @@ -0,0 +1,5 @@ +/** @type {import('next-sitemap').IConfig} */ +module.exports = { + siteUrl: 'https://laravel-cycle-orm-adapter.wayof.dev', + generateRobotsTxt: true, +} diff --git a/docs/package.json b/docs/package.json index 6a61e02b..d050b5e2 100644 --- a/docs/package.json +++ b/docs/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", + "postbuild": "next-sitemap", "start": "next start", "deps:update": "pnpm dlx npm-check-updates --configFileName .ncurc.yml -u --deep --mergeConfig && pnpm install" }, @@ -21,7 +22,9 @@ "dependencies": { "@heroicons/react": "^2.1.1", "@vercel/analytics": "^1.2.2", + "asciinema-player": "^3.7.0", "next": "^14.1.3", + "next-sitemap": "^4.2.3", "nextra": "latest", "nextra-theme-docs": "latest", "react": "^18.2.0", diff --git a/docs/pages/_app.tsx b/docs/pages/_app.tsx index 4eddd1d9..ea0ce5f6 100644 --- a/docs/pages/_app.tsx +++ b/docs/pages/_app.tsx @@ -1,7 +1,6 @@ import { Analytics } from '@vercel/analytics/react' import type { AppProps } from 'next/app' import type { ReactElement } from 'react' - import '../style.css' function Nextra({ Component, pageProps }: AppProps): ReactElement { diff --git a/docs/pages/console-commands/database-commands.mdx b/docs/pages/console-commands/database-commands.mdx index 6d3cf2e2..e5803cef 100644 --- a/docs/pages/console-commands/database-commands.mdx +++ b/docs/pages/console-commands/database-commands.mdx @@ -1,9 +1,10 @@ import {Callout} from "nextra-theme-docs"; import {OptionTable} from "../../components/env-table"; +import Image from 'next/image'; # Database Commands -The following commands are available for managing the database. +Database commands provides tooling to manage and inspect your databases. ### Command Reference Table @@ -34,3 +35,39 @@ export const commands = [ }))} columns={columns} /> + +### Listing Databases + +`cycle:db:list` + +This command provides a comprehensive list of all databases, along with their tables and the count of records in each table. + +#### Usage + +```bash +php artisan cycle:db:list +``` + +#### Example + +Listing Databases + +### Describing Table Schema + +`cycle:db:table` + +To get detailed information about the schema of a specific table, use the cycle:db:table command. This includes column names, types, and other relevant metadata. + +#### Usage + +```bash +php artisan cycle:db:table your_table_name +``` + +#### Options + +`--d|database`: The name of the database to use. If not provided, the default database will be used. + +#### Example + +Listing Table Contents diff --git a/docs/pages/console-commands/migration-commands.mdx b/docs/pages/console-commands/migration-commands.mdx index cbe14a51..9d2b035e 100644 --- a/docs/pages/console-commands/migration-commands.mdx +++ b/docs/pages/console-commands/migration-commands.mdx @@ -1,5 +1,6 @@ import {Callout} from "nextra-theme-docs"; import {OptionTable} from "../../components/env-table"; +import AsciinemaPlayer from "../../components/asciinema-player/player"; # Migration Commands @@ -65,7 +66,27 @@ php artisan cycle:migrate #### Options -`--one`: Executes only the first pending migration, allowing for more granular control over the migration process. +- `--one`: Executes only the first pending migration, allowing for more granular control over the migration process. + +#### Example + +Recording shows the visualization of applying migrations to the database. + +
+ + ### Replaying Migrations @@ -81,7 +102,7 @@ php artisan cycle:migrate:replay #### Options -`--all`: Replays all migrations, effectively refreshing your entire database schema. +- `--all`: Replays all migrations, effectively refreshing your entire database schema. ### Rolling Back Migrations @@ -98,7 +119,7 @@ php artisan cycle:migrate:rollback #### Options -`--all`: Rolls back all migrations, allowing you to revert your database schema to its initial state. +- `--all`: Rolls back all migrations, allowing you to revert your database schema to its initial state. ### Checking Migration Status @@ -131,4 +152,4 @@ php artisan cycle:migrate:fresh #### Options -`--seed`: Seeds the database after running the migrations, populating it with initial data. +- `--seed`: Seeds the database after running the migrations, populating it with initial data. diff --git a/docs/pages/console-commands/orm-commands.mdx b/docs/pages/console-commands/orm-commands.mdx index 954eac54..1aeaa5a3 100644 --- a/docs/pages/console-commands/orm-commands.mdx +++ b/docs/pages/console-commands/orm-commands.mdx @@ -1,9 +1,10 @@ import {Callout} from "nextra-theme-docs"; import {OptionTable} from "../../components/env-table"; +import AsciinemaPlayer from "../../components/asciinema-player/player"; # ORM Commands -The following commands are available for managing the ORM. +ORM commands facilitate the management of the Object-Relational Mapping layer, allowing for the initialization and updating of schemas, migration generation, schema visualization, and direct synchronization with the database. ### Command Reference Table @@ -36,3 +37,105 @@ export const commands = [ }))} columns={columns} /> + +### Initializing or Updating ORM Schema + +`cycle:orm` + +This command initializes or updates the Cycle ORM schema by analyzing the database structure and annotated classes. + +#### Usage + +```bash +php artisan cycle:orm +``` + +### Generating ORM Schema Migrations + +`cycle:orm:migrate` + +Use this command to generate migrations based on the current ORM schema. It's a crucial step for evolving the database schema in a controlled manner. + +#### Usage + +```bash +php artisan cycle:orm:migrate +``` + +#### Options + +- `--r|run` - Automatically run generated migration. +- `--s|split` - Split migration into multiple files (one per table). + +#### Example + +Recording shows migration file generation on existing Domain Entities and their relationships. + +
+ + + +### Displaying ORM Schema + +`cycle:orm:render` + +To visualize the current ORM schema directly in your console, use the `cycle:orm:render` command. This can help with understanding the structure and relationships defined in your ORM. + +#### Usage + +```bash +php artisan cycle:orm:render +``` + +#### Options + +- `--nc|no-color` - Display output without colors. +- `--p|php` - Display output as PHP code. + +#### Example + +Recording shows the visualization of the ORM schema in the console for existing `App/Entities/Post` entity. + +
+ + + +### Synchronizing ORM Schema with Database + +`cycle:orm:sync` + +This command directly synchronizes the Cycle ORM schema with the database. It bypasses the migration system and applies changes directly, which can be risky. + +#### Usage + +```bash +php artisan cycle:orm:sync +``` + + + Be cautious when using the `cycle:orm:sync` command, as it directly alters the database schema and can potentially lead to data loss. + diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 59bc3bf8..9d7e7e63 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -11,9 +11,15 @@ dependencies: '@vercel/analytics': specifier: ^1.2.2 version: 1.2.2(next@14.1.3)(react@18.2.0) + asciinema-player: + specifier: ^3.7.0 + version: 3.7.0 next: specifier: ^14.1.3 version: 14.1.3(react-dom@18.2.0)(react@18.2.0) + next-sitemap: + specifier: ^4.2.3 + version: 4.2.3(next@14.1.3) nextra: specifier: latest version: 2.13.4(next@14.1.3)(react-dom@18.2.0)(react@18.2.0) @@ -62,6 +68,10 @@ packages: resolution: {integrity: sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==} dev: false + /@corex/deepmerge@4.0.43: + resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==} + dev: false + /@headlessui/react@1.7.18(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-4i5DOrzwN4qSgNsL4Si61VMkUcWbcSKueUV7sFhpHzQcSShdlHENE5+QBntMSRvHt8NyoFO2AGG8si9lq+w4zQ==} engines: {node: '>=10'} @@ -275,6 +285,10 @@ packages: '@napi-rs/simple-git-win32-x64-msvc': 0.1.16 dev: false + /@next/env@13.5.6: + resolution: {integrity: sha512-Yac/bV5sBGkkEXmAX5FWPS9Mmo2rthrOPRQQNfycJPkjUAUclomCPH7QFVCDQ4Mp2k2K1SSM6m0zrxYrOwtFQw==} + dev: false + /@next/env@14.1.3: resolution: {integrity: sha512-VhgXTvrgeBRxNPjyfBsDIMvgsKDxjlpw4IAUsHCX8Gjl1vtHUYRT3+xfQ/wwvLPDd/6kqfLqk9Pt4+7gysuCKQ==} dev: false @@ -366,12 +380,10 @@ packages: dependencies: '@nodelib/fs.stat': 2.0.5 run-parallel: 1.2.0 - dev: true /@nodelib/fs.stat@2.0.5: resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} engines: {node: '>= 8'} - dev: true /@nodelib/fs.walk@1.2.8: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} @@ -379,7 +391,6 @@ packages: dependencies: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - dev: true /@pkgjs/parseargs@0.11.0: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} @@ -639,6 +650,13 @@ packages: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: false + /asciinema-player@3.7.0: + resolution: {integrity: sha512-0RDc4j7TkjyhAwxkDe3vNqjAcizc7tubYW2VZi/06csY8iAoSC2uRvSyfNzh9ONDZu8pdf0bZJ91A84Gexb3tg==} + dependencies: + '@babel/runtime': 7.24.0 + solid-js: 1.8.15 + dev: false + /astring@1.8.6: resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==} hasBin: true @@ -652,7 +670,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001597 + caniuse-lite: 1.0.30001598 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -684,14 +702,13 @@ packages: engines: {node: '>=8'} dependencies: fill-range: 7.0.1 - dev: true /browserslist@4.23.0: resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001597 + caniuse-lite: 1.0.30001598 electron-to-chromium: 1.4.708 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) @@ -709,8 +726,8 @@ packages: engines: {node: '>= 6'} dev: true - /caniuse-lite@1.0.30001597: - resolution: {integrity: sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==} + /caniuse-lite@1.0.30001598: + resolution: {integrity: sha512-j8mQRDziG94uoBfeFuqsJUNECW37DXpnvhcMJMdlH2u3MRkq1sAI0LJcXP1i/Py0KbSIC4UDj8YHPrTn5YsL+Q==} /ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -1326,20 +1343,17 @@ packages: glob-parent: 5.1.2 merge2: 1.4.1 micromatch: 4.0.5 - dev: true /fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} dependencies: reusify: 1.0.4 - dev: true /fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} dependencies: to-regex-range: 5.0.1 - dev: true /flexsearch@0.7.43: resolution: {integrity: sha512-c5o/+Um8aqCSOXGcZoqZOm+NqtVwNsvVpWv6lfmSclU954O3wvQKxxK8zj74fPaSJbXpSLTs4PRhh+wnoCXnKg==} @@ -1400,7 +1414,6 @@ packages: engines: {node: '>= 6'} dependencies: is-glob: 4.0.3 - dev: true /glob-parent@6.0.2: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} @@ -1657,7 +1670,6 @@ packages: /is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} - dev: true /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} @@ -1669,7 +1681,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: is-extglob: 2.1.1 - dev: true /is-hexadecimal@2.0.1: resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==} @@ -1678,7 +1689,6 @@ packages: /is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - dev: true /is-obj@3.0.0: resolution: {integrity: sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==} @@ -2053,7 +2063,6 @@ packages: /merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - dev: true /mermaid@10.9.0: resolution: {integrity: sha512-swZju0hFox/B/qoLKK0rOxxgh8Cf7rJSfAUc1u8fezVihYMvrJAS45GzAxTVf4Q+xn9uMgitBcmWk7nWGXOs/g==} @@ -2461,7 +2470,6 @@ packages: dependencies: braces: 3.0.2 picomatch: 2.3.1 - dev: true /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} @@ -2470,6 +2478,10 @@ packages: brace-expansion: 2.0.1 dev: true + /minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + dev: false + /minipass@7.0.4: resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} engines: {node: '>=16 || 14 >=14.17'} @@ -2526,6 +2538,20 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false + /next-sitemap@4.2.3(next@14.1.3): + resolution: {integrity: sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==} + engines: {node: '>=14.18'} + hasBin: true + peerDependencies: + next: '*' + dependencies: + '@corex/deepmerge': 4.0.43 + '@next/env': 13.5.6 + fast-glob: 3.3.2 + minimist: 1.2.8 + next: 14.1.3(react-dom@18.2.0)(react@18.2.0) + dev: false + /next-themes@0.2.1(next@14.1.3)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} peerDependencies: @@ -2556,7 +2582,7 @@ packages: '@next/env': 14.1.3 '@swc/helpers': 0.5.2 busboy: 1.6.0 - caniuse-lite: 1.0.30001597 + caniuse-lite: 1.0.30001598 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.2.0 @@ -2768,7 +2794,6 @@ packages: /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - dev: true /pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} @@ -2873,7 +2898,6 @@ packages: /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: true /react-dom@18.2.0(react@18.2.0): resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} @@ -3018,7 +3042,6 @@ packages: /reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - dev: true /robust-predicates@3.0.2: resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==} @@ -3028,7 +3051,6 @@ packages: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: queue-microtask: 1.2.3 - dev: true /rw@1.3.3: resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==} @@ -3065,6 +3087,20 @@ packages: kind-of: 6.0.3 dev: false + /seroval-plugins@1.0.5(seroval@1.0.5): + resolution: {integrity: sha512-8+pDC1vOedPXjKG7oz8o+iiHrtF2WswaMQJ7CKFpccvSYfrzmvKY9zOJWCg+881722wIHfwkdnRmiiDm9ym+zQ==} + engines: {node: '>=10'} + peerDependencies: + seroval: ^1.0 + dependencies: + seroval: 1.0.5 + dev: false + + /seroval@1.0.5: + resolution: {integrity: sha512-TM+Z11tHHvQVQKeNlOUonOWnsNM+2IBwZ4vwoi4j3zKzIpc5IDw8WPwCfcc8F17wy6cBcJGbZbFOR0UCuTZHQA==} + engines: {node: '>=10'} + dev: false + /server-only@0.0.1: resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} dev: false @@ -3116,6 +3152,14 @@ packages: engines: {node: '>=8'} dev: false + /solid-js@1.8.15: + resolution: {integrity: sha512-d0QP/efr3UVcwGgWVPveQQ0IHOH6iU7yUhc2piy8arNG8wxKmvUy1kFxyF8owpmfCWGB87usDKMaVnsNYZm+Vw==} + dependencies: + csstype: 3.1.3 + seroval: 1.0.5 + seroval-plugins: 1.0.5(seroval@1.0.5) + dev: false + /sort-keys@5.0.0: resolution: {integrity: sha512-Pdz01AvCAottHTPQGzndktFNdbRA75BgOfeT1hH+AMnJFv8lynkPi42rfeEhpx1saTEI3YNMWxfqu0sFD1G8pw==} engines: {node: '>=12'} @@ -3311,7 +3355,6 @@ packages: engines: {node: '>=8.0'} dependencies: is-number: 7.0.0 - dev: true /trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} diff --git a/docs/public/images/command.cycle-db-list.png b/docs/public/images/command.cycle-db-list.png new file mode 100644 index 00000000..e3f3ebf6 Binary files /dev/null and b/docs/public/images/command.cycle-db-list.png differ diff --git a/docs/public/images/command.cycle-db-table.png b/docs/public/images/command.cycle-db-table.png new file mode 100644 index 00000000..dbf8cc99 Binary files /dev/null and b/docs/public/images/command.cycle-db-table.png differ diff --git a/docs/public/robots.txt b/docs/public/robots.txt new file mode 100644 index 00000000..261444f6 --- /dev/null +++ b/docs/public/robots.txt @@ -0,0 +1,9 @@ +# * +User-agent: * +Allow: / + +# Host +Host: https://laravel-cycle-orm-adapter.wayof.dev + +# Sitemaps +Sitemap: https://laravel-cycle-orm-adapter.wayof.dev/sitemap.xml diff --git a/docs/public/sitemap-0.xml b/docs/public/sitemap-0.xml new file mode 100644 index 00000000..04024359 --- /dev/null +++ b/docs/public/sitemap-0.xml @@ -0,0 +1,24 @@ + + +https://laravel-cycle-orm-adapter.wayof.dev2024-03-17T16:01:34.687Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/console-commands2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/console-commands/database-commands2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/console-commands/migration-commands2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/console-commands/orm-commands2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/contributing2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/getting-started2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/getting-started/configuration2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/getting-started/installation2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/services2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/services/factories2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/services/seeders2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/services/testing2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/services/validation2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-entities2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-entities/defining-entities2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-relationships2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-relationships/belongs-to2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-relationships/has-many2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-relationships/has-one2024-03-17T16:01:34.688Zdaily0.7 +https://laravel-cycle-orm-adapter.wayof.dev/working-with-relationships/many-to-many2024-03-17T16:01:34.688Zdaily0.7 + diff --git a/docs/public/sitemap.xml b/docs/public/sitemap.xml new file mode 100644 index 00000000..845fe615 --- /dev/null +++ b/docs/public/sitemap.xml @@ -0,0 +1,4 @@ + + +https://laravel-cycle-orm-adapter.wayof.dev/sitemap-0.xml +