- Notifications
You must be signed in to change notification settings - Fork1
The Missing Sqlite Cache Driver Package.You can easily use Sqlite Database as Cache Driver through this package
License
iqbalhasandev/laravel-sqlite-cache
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Made with ❤️ byIqbal Hasan
- Laravel: 5.6/5.7/5.8/6.0/7.0/8.0
- Author: IQBAL HASAN
- Website & Documentation::https://iqbalhasandev.github.io/laravel-sqlite-cache/
Integrate Cache Driver into your project easily with laravel-sqlite-cache package.
After creating your new Laravel application you can include the Sqlite Cache Driver Package with the following command:
composer require iqbalhasandev/sqlite-cache
Should you still be on version 5.4 of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open yourconfig/app.php file.
Add a new line to theproviders array:
Iqbal\SqliteCache\SqliteCacheProvider::class3. Then run the command in the terminal "php artisan sqlite-cache:install; php artisan sqlite-cache:table;"
//* To install& publish all config files of sqlite-cache packagephp artisan sqlite-cache:install//Then Run//* To Create Cache Tablephp artisan sqlite-cache:table
CACHE_DRIVER=sqlite
Look at one of the following topics to learn more about laravel-bulksmsbd
Below is an example of Cache Data
//Route web.phpuseIlluminate\Support\Facades\Cache;Route::get('/laravel-sqlite-cache',function () { Cache::put('testing','laravel sqlite cache is Awesome');return Cache::get('testing');});
To know more about the use of laravel cache, visit laravel Official Webpage
You can change Cache Database Name to change name follow these step:
// optional Defalt Cache Database Name'cache.sqlite'CACHE_DATABASE={databasename} //E.g.'cache.sqlite'
Then run the command in the terminal "php artisan sqlite-cache:install; php artisan sqlite-cache:table;"
//* To install& publish all config files of sqlite-cache packagephp artisan sqlite-cache:install//Then Run//* To Create Cache Tablephp artisan sqlite-cache:table
- IQBAL HASAN (the author of sqlite-cach package)
- Contributors
Hey dude! Don't forget to mail me if you have any problem with the package.
- Author E-mail:iqbalhasan.dev@gmail.com
- Author Facebook:https://www.facebook.com/iqbalhasan.dev/
- Author linkedin:https://www.linkedin.com/in/iqbalhasandev
- Author github:https://github.com/iqbalhasandev
- Author twitter:https://twitter.com/iqbalhasandev
This package inherits the licensing of its parent framework, Laravel, and as such is open-sourcedsoftware licensed under theMIT license
If you want to contribute, you can
Thank you for using this package😘If you like it, don't forget to give a star⭐⭐⭐⭐⭐
About
The Missing Sqlite Cache Driver Package.You can easily use Sqlite Database as Cache Driver through this package
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.