dinahasina /
GestionDeVoiture2.0PHP
Ceci est l'amélioration de mon projet en cruds Fin Cours base de donné relationneles
27/100 healthLoading repository data…
NaelleNangmo / repository
Ceci est mon premier projet test pour ma formation en laravel (Framework PHP)
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out Laravel Learn, where you will be guided through building a modern Laravel application.
If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.
API REST pour la gestion du suivi académique développée avec Laravel. Cette API permet de gérer les filières, niveaux, unités d'enseignement (UE), éléments constitutifs (EC), personnel, salles, enseignements et programmations.
Le caching est une technique d'optimisation qui consiste à stocker temporairement des données fréquemment utilisées en mémoire pour éviter de les recalculer ou de les récupérer depuis la base de données à chaque requête.
1. Cache de lecture (GET requests)
2. Invalidation du cache (POST/PUT/DELETE)
3. Types de cache utilisés
// Cache pour les listes complètes
Cache::remember('filieres.all', 3600, function () {
return Filiere::all();
});
// Cache pour les éléments individuels
Cache::remember("filiere.{$code_filiere}", 3600, function () use ($code_filiere) {
return Filiere::find($code_filiere);
});
// Cache pour les clés composites
Cache::remember("programmation.{$code_ec}.{$num_salle}.{$code_pers}", 3600, function () {
return Programmation::where(...)->first();
});
4. Avantages du caching
5. Configuration du cache
database (configurable dans .env)cache (créée automatiquement)6. Gestion automatique
# Cloner le projet
git clone [url-du-repo]
cd suivi-academic-backend
# Installer les dépendances
composer install
# Copier le fichier d'environnement
cp .env.example .env
# Générer la clé d'application
php artisan key:generate
# Configurer la base de données dans .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3307
DB_DATABASE=suivi_academique_backend
DB_USERNAME=root
DB_PASSWORD=
# Exécuter les migrations
php artisan migrate
# Créer la table de cache (si nécessaire)
php artisan cache:table
php artisan migrate
Le cache est configuré pour utiliser la base de données par défaut. Pour changer le driver :
# Dans .env
CACHE_STORE=database # ou file, redis, memcached
Une base de données séparée est utilisée pour les tests :
# Configuration test dans phpunit.xml
DB_DATABASE_TESTING=suivi_academique_backend_test
# Lancer tous les tests
php artisan test
# Tests spécifiques
php artisan test --filter=FiliereTest
POST /api/login - ConnexionPOST /api/logout - DéconnexionGET /api/filieres - Liste des filières (avec cache)POST /api/filieres - Créer une filièreGET /api/filieres/{code} - Détails d'une filière (avec cache)PUT /api/filieres/{code} - Modifier une filièreDELETE /api/filieres/{code} - Supprimer une filièreGET /api/personnels - Liste du personnel (avec cache)POST /api/personnels - Créer un personnelGET /api/personnels/{code} - Détails d'un personnel (avec cache)PUT /api/personnels/{code} - Modifier un personnelDELETE /api/personnels/{code} - Supprimer un personnel[Autres endpoints suivent le même pattern pour Niveaux, UE, EC, Salles, Enseignements, Programmations]
# Créer une migration
php artisan make:migration create_filiere_table
# Exécuter les migrations
php artisan migrate
# Annuler la dernière migration
php artisan migrate:rollback
# Annuler une migration spécifique
php artisan migrate:rollback --path=/database/migrations/2025_11_10_151118_create_niveau_table.php
# Générer les modèles (avec Reliese)
php artisan vendor:publish --tag=reliese-models
php artisan code:models
# Créer une factory
php artisan make:factory FiliereFactory --model=Filiere
# Créer un test
php artisan make:test FiliereTest
# Vider le cache
php artisan cache:clear
# Créer la table de cache
php artisan cache:table
# Voir les statistiques du cache
php artisan cache:table
Tous les contrôleurs suivent le même pattern avec caching intégré :
ValidatorGrâce au système de cache implémenté :
Selected from shared topics, language and repository description—not editorial ratings.
dinahasina /
Ceci est l'amélioration de mon projet en cruds Fin Cours base de donné relationneles
27/100 healthNvmeless /
Ceci est un premier site sur mon github
38/100 healthBFL86 /
Ceci est mon TP de php, voilà(^^).
27/100 healthLysianth /
Ceci est un premier site sur mon github
37/100 healthbabacar97 /
Ceci est une blog fait en PHP (programmation orienté object)
27/100 healthAntBen7793 /
Ceci est mon TP noté du jeudi 14 janvier 2021
27/100 health