← Retour aux projets
Filament Billing Example
#FilamentPHP Billing System
An example project demonstrating a billing system built with Laravel and FilamentPHP. It includes subscription management, recurring payments, and integration with Stripe using Laravel Cashier. The system also features a FilamentPHP interface for managing plans and viewing billing details.
#Prerequisites
- PHP >= 8.2
- Composer >= 2.0
- Node.js >= 16.0
- MySQL >= 8.0 or SQLite >= 3.0
- Laravel >= 11.x
#Installation
- Clone the repository
git clone git@github.com:Willy-Bueno/filament-billing-example.git
cd filament-billing-example
- Install PHP dependencies
composer install
- Install and compile frontend dependencies
npm install npm run dev
- Configure environment variables
cp .env.example .env php artisan key:generate
- Configure your database in
.env:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=billing_system DB_USERNAME=your_username DB_PASSWORD=your_password
- Run migrations and seeders
php artisan migrate --seed
- Link storage for file uploads
php artisan storage:link
- Create a Filament user
php artisan make:filament-user
- Configure Stripe keys in
.env
STRIPE_KEY=your_stripe_key STRIPE_SECRET=your_stripe_secret
- Configure the stripe prices in the
config/stripe.phpfile
#Contributing
- Fork the repository
- Create your feature changes in your branch
- Commit your changes
- Push to the branch
- Open a Pull Request
#Security
If you discover any security-related issues, please email willybueno090@gmail.com instead of using the issue tracker.
#License
This project is licensed under the MIT License - see the LICENSE.md file for details.
#Credits
#Support
For support, please email willybueno090@gmail.com or create an issue in the GitHub repository.