turso-laravel
A Turso/LibSQL database driver for Laravel application
File Explorer
Download Latest Version (.zip)- bug.yml
- config.yml
- dependabot-auto-merge.yml
- fix-php-code-style-issues.yml
- phpstan.yml
- run-coverage-tests.yml
- run-tests.yml
- update-changelog.yml
- CODEOWNERS
- CONTRIBUTING.md
- dependabot.yml
- FUNDING.yml
- PULL_REQUEST_TEMPLATE.md
- SECURITY.md
- turso-laravel.php
- TursoSyncCommand.php
- TursoQuery.php
- TursoConnection.php
- TursoConnector.php
- TursoPDO.php
- TursoPDOStatement.php
- TursoQueryGrammar.php
- TursoQueryProcessor.php
- TursoSchemaBuilder.php
- TursoSchemaGrammar.php
- TursoSchemaState.php
- PdoParam.php
- TursoType.php
- FeatureNotSupportedException.php
- TursoQueryException.php
- Turso.php
- QueryResponse.php
- RequestBody.php
- ResponseBody.php
- TursoSyncJob.php
- CloseQuery.php
- ExecuteQuery.php
- Query.php
- TursoClient.php
- TursoLaravelServiceProvider.php
- TursoManager.php
- BlobDataTest.php
- BooleanDataTest.php
- DateDataTest.php
- DateTimeDataTest.php
- DoubleDataTest.php
- FloatDataTest.php
- IntegerDataTest.php
- StringDataTest.php
- TextDataTest.php
- TimestampDataTest.php
- YearDataTest.php
- ArrayCastingTest.php
- AsStringableCastingTest.php
- BooleanCastingTest.php
- CollectionCastingTest.php
- DateCastingTest.php
- DatetimeCastingTest.php
- DoubleCastingTest.php
- EnumCastingTest.php
- FloatCastingTest.php
- IntegerCastingTest.php
- TimestampCastingTest.php
- HasManyThroughTest.php
- ManyToManyTest.php
- OneToManyTest.php
- OneToOneTest.php
- DatabaseQueriesTest.php
- DeleteStatementsTest.php
- InsertStatementsTest.php
- RawExpressionsTest.php
- SelectStatementsTest.php
- UpdateStatementTest.php
- DatabaseTransactionsTest.php
- EloquentCollectionTest.php
- EloquentDeleteTest.php
- EloquentSoftDeletesTest.php
- MultiConnectionsTest.php
- ReadReplicaTest.php
- TursoPDOStatementTest.php
- TursoPDOTest.php
- TursoSchemaBuilderTest.php
- DeploymentFactory.php
- EnvironmentFactory.php
- PhoneFactory.php
- PostFactory.php
- ProjectFactory.php
- RoleFactory.php
- UserFactory.php
- create_deployments_table.php
- create_environments_table.php
- create_phones_table.php
- create_posts_table.php
- create_projects_table.php
- create_roles_table.php
- create_user_roles_table.php
- create_users_table.php
- Deployment.php
- Environment.php
- Phone.php
- Post.php
- Project.php
- Role.php
- User.php
- TursoSyncCommandTest.php
- TursoConnectionTest.php
- TursoPDOTest.php
- TursoSchemaBuilderTest.php
- QueryResponseTest.php
- RequestBodyTest.php
- ResponseBodyTest.php
- CloseQueryTest.php
- ExecuteQueryTest.php
- TursoClientTest.php
- TursoManagerTest.php
- ArchTest.php
- Pest.php
- TestCase.php
- WorkbenchServiceProvider.php
- .editorconfig
- .gitattributes
- .gitignore
- CHANGELOG.md
- composer.json
- docker-compose.yml
- LICENSE.md
- package.json
- phpstan-baseline.neon
- phpstan.neon.dist
- phpunit.xml.dist
- pint.json
- README.md
- turso-sync.mjs
# Installation Guide
1. Get the code
git clone https://github.com/richan-fongdasen/turso-laravel
Downloads the entire project code from GitHub to your computer.
cd turso-laravel
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm install @libsql/client
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
4. PHP (Composer)
EasyPrerequisites
composer require richan-fongdasen/turso-laravel
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
