Download the PHP package ypsolution/ynfinite-php-client without Composer
On this page you can find all versions of the php package ypsolution/ynfinite-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ypsolution/ynfinite-php-client
More information about ypsolution/ynfinite-php-client
Files in ypsolution/ynfinite-php-client
Package ynfinite-php-client
Short Description PHP Client for Ynfinite
License MIT
Homepage https://www.ynfinite.com
Informations about the package ynfinite-php-client
Ynfinite PHP Client
This PHP client package provides integration with the ynfinite platform. You'll need an active ynfinite account to use this package.
Setup Instructions
Development Environment
Navigate to the development directory and set up Docker:
Verify the Docker container is running correctly.
Start the hot reload development server:
Access your development environment at http://localhost:3100
Available Build Commands
npm run build- Build all assets (CSS + JS)npm run build:js- Build JavaScript onlynpm run build:css- Build CSS onlynpm run build:watch- Watch and build assetsnpm run dev- Standard Vite dev server (port 3000)npm run dev:hot- Custom hot reload server (port 3100)npm run dev:assets- Asset watching with concurrent builds
Common Issues
Cache Directory Permissions
If you encounter:
Fix with:
Node Version Problems
Ensure you're using Node 20:
Hot Reload Issues
Verify the hot reload server is active: npm run dev:hot
Migrating Vite Hot Reload to Another Project
Required Files
Copy these files to your project:
Package.json Configuration
Add these to your package.json:
Install
run npm install
Vite Configuration Updates
Modify these paths in vite.config.js:
- Line 4:
root: './your-assets-folder'(probably already right) - Line 7:
outDir: '../../your-public-folder'(probably already right) - Lines ~17: Update input paths to your JS files
Modify these paths in build-css.mjs:
- Line 19: Enter Css files names that needs to compile
Modify the import of the main JS file
- from text/javascript into module
Launch
Follow the setup instructions above to start development.
All versions of ynfinite-php-client with dependencies
ext-json Version *
bryanjhv/slim-session Version 4.0
cocur/slugify Version 4.0.0
illuminate/database Version 7.20
monolog/monolog Version 1.25.3
php-di/php-di Version 6.1.0
slim/psr7 Version 1.0.0
slim/slim Version 4.5.0
slim/twig-view Version 3.0.0
thadafinser/user-agent-parser Version ^2.0
twig/intl-extra Version ^3.0
twig/twig Version 3.0
vlucas/phpdotenv Version 3.6.3
whichbrowser/parser Version ^2.0