Download the PHP package artflow-studio/snippets without Composer

On this page you can find all versions of the php package artflow-studio/snippets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package snippets

🚀 AF Web Snippets

A powerful collection of Laravel web snippets to supercharge your development workflow

![PHP Version](https://img.shields.io/badge/php-%3E%3D8.0-777BB4?style=flat-square&logo=php) ![Laravel Version](https://img.shields.io/badge/laravel-%3E%3D9.0-FF2D20?style=flat-square&logo=laravel) ![Livewire](https://img.shields.io/badge/livewire-3.0-4E56A6?style=flat-square&logo=livewire) ![License](https://img.shields.io/badge/license-MIT-green?style=flat-square) ![Version](https://img.shields.io/badge/version-1.0.0-orange?style=flat-square)

📋 Table of Contents


✨ Features


🔧 Installation

Install the package via Composer:

Service Provider Registration

The package uses Laravel's auto-discovery feature. If you're using Laravel 5.5+, the service provider will be automatically registered.

Publish Assets (Optional)


🚀 Quick Start

Add the following line at the end of your <body> tag in your Blade layout:

That's it! You're ready to use AF Web Snippets in your Laravel application.


📚 Components

🎯 Dynamic Dropdown (AFDropdown)

A powerful Livewire component for searchable dropdowns with real-time filtering, minimum search length, and elegant UI.

Basic Usage

Advanced Configuration

Listening to Selection Events

AFDropdown Features

Configuration Options

Option Type Default Description
model string required Eloquent model class
column string required Database column to search and display
classes string 'form-control' CSS classes for input
placeholder string 'Search...' Input placeholder text
min-search-length int 3 Minimum characters before search

🆔 Unique ID Generator

Generate unique identifiers for your models with multiple strategies and collision detection.

Basic Usage

Advanced Usage

ID Generation Methods

  1. unique6digitID() - Generates 6-digit numeric IDs (100000-999999)
  2. generateUniqueBase36ID() - Generates Base36 IDs with timestamp encoding
  3. generateUniqueID($model, $column) - Generates unique IDs with collision checking

📱 Data Formatters

Format common data types for Pakistani users with intelligent detection and formatting.

Pakistani Phone Number Formatter

Pakistani CNIC Formatter

Usage in Models


🎨 Customization

Styling AFDropdown


🔍 Examples

Dropdown with Event Handling


🛠️ Requirements


🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


👥 Authors


🙏 Acknowledgments


Made with ❤️ for the Laravel community

⭐ Star us on GitHub | 🐛 Report Bug | 💡 Request Feature


All versions of snippets with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package artflow-studio/snippets contains the following files

Loading the files please wait ....